mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
190827ee5a
Problematic were files for which DOS-style EOLs were detected (carriage return followed by newline, \r\n) but which had some lines terminated solely by a newline (\n). In such a case the EOL was only detected upon seeing the next \r\n, and the value returned from the `getline()` function would return something that everyone would judge to be multiple lines of text. Fixes #2594.
6 lines
214 B
Ruby
Executable File
6 lines
214 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_673srt_different_eol_styles
|
|
describe "mkvmerge / SRT text subtitles with both DOS & Unix style line endings"
|
|
test_merge "data/subtitles/srt/different_eol_styles.srt", :exit_code => :warning
|