Progmasoft Git

tazel

A build system for C, C++, Objective-C, Objective-C++ and Zig, with C# project files.

Clonegit clone https://git.progmasoft.com/tazel

Fix Windows newline assertion in LicenseAndHelpTests

Commit
0e3307147194587780abab0d645ab7733da25a03
Author
Leitwolf11 ·
Parents
90bd84024282

Files · Download .tar.gz

Changes

 tests/Progmasoft.Tazel.Tests/LicenseAndHelpTests.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Progmasoft.Tazel.Tests/LicenseAndHelpTests.cs b/tests/Progmasoft.Tazel.Tests/LicenseAndHelpTests.cs
index fedb9b6..59552bf 100644
--- a/tests/Progmasoft.Tazel.Tests/LicenseAndHelpTests.cs
+++ b/tests/Progmasoft.Tazel.Tests/LicenseAndHelpTests.cs
@@ -89,7 +89,7 @@ public sealed class LicenseAndHelpTests
         Assert.Contains("| Library | License | Source |", md, StringComparison.Ordinal);
 
         var rst = LicenseText.Format(LicenseFormat.RestructuredText);
-        Assert.StartsWith("Tazel License\n=============", rst, StringComparison.Ordinal);
+        Assert.StartsWith("Tazel License" + Environment.NewLine + "=============", rst, StringComparison.Ordinal);
         Assert.Contains(":License: MIT", rst, StringComparison.Ordinal);
     }