Skip to content

Commit d486378

Browse files
Nenad Vicenticarturcic
Nenad Vicentic
authored andcommitted
Fix unit-test for Mac and Ubuntu (new-line issue)
1 parent 1ee891b commit d486378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.App.Tests/ArgumentParserTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ private static IEnumerable<TestCaseData> OverrideconfigWithInvalidOptionTestData
394394
};
395395
yield return new TestCaseData("assembly-versioning-scheme=WrongEnumValue")
396396
{
397-
ExpectedResult = "Could not parse /overrideconfig option: assembly-versioning-scheme=WrongEnumValue. Ensure that 'value' is valid for specified 'key' enumeration: \r\nMajorMinorPatchTag\r\nMajorMinorPatch\r\nMajorMinor\r\nMajor\r\nNone\r\n"
397+
ExpectedResult = $"Could not parse /overrideconfig option: assembly-versioning-scheme=WrongEnumValue. Ensure that 'value' is valid for specified 'key' enumeration: {Environment.NewLine}MajorMinorPatchTag{Environment.NewLine}MajorMinorPatch{Environment.NewLine}MajorMinor{Environment.NewLine}Major{Environment.NewLine}None{Environment.NewLine}"
398398
};
399399
}
400400

0 commit comments

Comments
 (0)