mkvtoolnix/tests/test-245srt_timecode_formats.rb
Moritz Bunkus 0275749999 Explicitely set subtitle charsets in tests
Due to the change to set the locale to UTF-8 in run.rb
2010-05-22 19:17:33 +02:00

21 lines
471 B
Ruby

#!/usr/bin/ruby -w
class T_245srt_timecode_formats < Test
def description
return "mkvmerge / SRT files with various timecode formats (shortened, spaces etc) / in(SRT)"
end
def run
hashes = Array.new
merge "--subtitle-charset -1:ISO-8859-5 data/textsubs/shortened_timecodes.srt"
hashes << hash_tmp
merge "--subtitle-charset -1:ISO-8859-5 data/textsubs/timecodes_with_spaces.srt"
hashes << hash_tmp
return hashes.join('-')
end
end