mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 11:27:21 +00:00
Fixed line endings in the reflection folder and tests on Windows (#1192)
This commit is contained in:
1 parent
6f187f1bd8
commit
b1c1f13993
7 files changed
+157
-22
No files matched your search
@@ -101,7 +101,8 @@ public sealed class I18NSourceScannerTests
|
||||
|
||||
var texts = I18NSourceScanner.FindTexts(SOURCE, "Notice.cs", []);
|
||||
|
||||
Assert.That(texts.Select(text => text.Text), Is.EqualTo(new[] { "## Welcome!\n\nThe first paragraph." }));
|
||||
// The scanner keeps the line endings of the checkout, as the compiler does, and the collector makes them equal:
|
||||
Assert.That(texts.Select(text => I18NKeyHash.NormalizeLineEndings(text.Text)), Is.EqualTo(new[] { "## Welcome!\n\nThe first paragraph." }));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user