test/test_movie-renamer.rb in movie-renamer-0.0.8 vs test/test_movie-renamer.rb in movie-renamer-0.0.9
- old
+ new
@@ -28,9 +28,11 @@
# test title extraction
must "extract a title correctly with bad words in filename" do
['DIvX-ITa Kill Bill Vol. 2','(Divx-Ita )Kill Bill Vol. 2',
'Divx- ita Kill Bill Vol. 2','(Divx - ita) - Kill Bill Vol. 2',
+ 'xvid- ita Kill Bill Vol. 2','(xvid-ita) - Kill Bill Vol. 2',
+ 'xvidita Kill Bill Vol. 2','(dvdrip) Kill Bill Vol. 2',
'[Divx-Ita ]Kill Bill Vol. 2','Kill Bill Vol. 2 [divx - Ita ]'].each do |name|
assert_equal "Kill Bill Vol. 2", MovieRenamer::titleExtract(name)
end
end