Skip to content

Commit b042191

Browse files
committed
fix: tests failed when disable autocrlf
1 parent 26bd037 commit b042191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ConsoleAppFramework.GeneratorTests/CSharpGeneratorRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void Execute([StringSyntax("C#-test")] string code, string args, string e
196196
}
197197
OutputGeneratedCode(compilation);
198198

199-
stdout.ShouldBe(expected);
199+
stdout.ShouldBe(expected, StringCompareShould.IgnoreLineEndings);
200200
}
201201

202202
public string Error([StringSyntax("C#-test")] string code, string args, [CallerArgumentExpression("code")] string? codeExpr = null)

0 commit comments

Comments
 (0)