mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix a test using the NewLineChars
This commit is contained in:
parent
0e08da9165
commit
7909d72387
@ -627,7 +627,7 @@ Dialogue: Marked=0,0:00:01.00,0:00:03.00,Default,NTP,0000,0000,0000,!Effect," +
|
||||
var sub2 = new Subtitle();
|
||||
|
||||
List<string> lines = new List<string>();
|
||||
foreach (string line in text.Split(Utilities.NewLineChars, StringSplitOptions.RemoveEmptyEntries))
|
||||
foreach (string line in text.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
|
||||
lines.Add(line);
|
||||
|
||||
target.LoadSubtitle(sub2, lines, null);
|
||||
|
Loading…
Reference in New Issue
Block a user