Fix unit test

This commit is contained in:
Nikolaj Olsson 2024-08-28 15:18:39 +02:00
parent d28bd895cd
commit 3b7fdef52a

View File

@ -87,7 +87,7 @@ namespace Test.Logic.AutoTranslate
Assert.AreEqual(subtitle.Paragraphs.Count, splitResult.Count); Assert.AreEqual(subtitle.Paragraphs.Count, splitResult.Count);
var inputText = string.Join(" ", subtitle.Paragraphs.Select(p => p.Text)).Replace(Environment.NewLine, " "); var inputText = string.Join(" ", subtitle.Paragraphs.Select(p => p.Text)).Replace(Environment.NewLine, " ");
var splitResultText = string.Join(" ", splitResult); var splitResultText = string.Join(" ", splitResult).Replace(Environment.NewLine, " ");
Assert.AreEqual(inputText, splitResultText); Assert.AreEqual(inputText, splitResultText);
} }