mkvtoolnix/tests/test-0531simple_chapter_extraction.rb
2021-07-07 16:10:13 +02:00

14 lines
425 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_531simple_chapter_extraction
describe "mkvextract / chapters in simple format including language selection"
%w{love phantom}.each do |file|
[ "", "--simple-language eng", "--simple-language spa" ].each do |language|
test "extract from #{file} #{language}" do
extract "data/chapters/#{file}.mkv", :args => "--simple #{language} #{tmp}", :mode => :chapters
hash_tmp
end
end
end