mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Fix unit test
This commit is contained in:
parent
d28bd895cd
commit
3b7fdef52a
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user