mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 14:27:42 +00:00
1a7222fdbf
Updated the list of valid top level domain country codes. Deprecated codes such as "gb" are mapped to their current representation ("uk") during merging, extraction, in the GUI's chapter editor and in its preferences. Fixes #1731.
13 lines
360 B
Ruby
Executable File
13 lines
360 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_551deprecated_cctld_codes
|
|
describe "mkvmerge, mkvextract / deprecated ccTLDs"
|
|
|
|
test_merge "data/subtitles/srt/ven.srt", :args => "--chapters data/chapters/uk-and-gb.xml"
|
|
test_merge "data/mkv/chapters-uk-and-gb.mks"
|
|
|
|
test "fix during extraction" do
|
|
extract "data/mkv/chapters-uk-and-gb.mks > #{tmp}", :mode => :chapters
|
|
hash_tmp
|
|
end
|