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

13 lines
368 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_621propedit_remove_date
describe "mkvpropedit / remove 'date' header field"
test_merge "data/subtitles/srt/ven.srt", :keep_tmp => true
test "remove date header field" do
propedit tmp, "--edit info --delete date"
info = identify_json(tmp)["container"]["properties"]
info.key?("date_utc") || info.key?("date_local") ? "failed" : "ok"
end