test/test_cli.rb in tracksperanto-2.8.6 vs test/test_cli.rb in tracksperanto-2.9.0

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- require File.expand_path(File.dirname(__FILE__)) + '/helper' require "set" require "cli_test" class CliTest < Test::Unit::TestCase @@ -36,11 +37,12 @@ status, o, e = cli(TEMP_DIR + "/flm.stabilizer") assert_equal 0, status, "Should exit with a normal status" fs = %w(. .. flm.stabilizer flm_3de_v3.txt flm_3de_v4.txt flm_boujou_text.txt flm_flame.stabilizer flm_matchmover.rz2 flm_mayalive.txt flm_nuke.nk flm_pftrack_2011_pfmatchit.txt flm_pftrack_v4.2dt - flm_pftrack_v5.2dt flm_shake_trackers.txt flm_syntheyes_2dt.txt flm_flame_cornerpin.stabilizer + flm_pftrack_v5.2dt flm_shake_trackers.txt flm_syntheyes_2dt.txt flm_flame_cornerpin.stabilizer + flm_tracksperanto_ruby.rb ) assert_same_set fs, Dir.entries(TEMP_DIR) end @@ -91,6 +93,6 @@ # We use this instead of assert_equals for arrays since different filesystems # return files in different order def assert_same_set(expected_enum, enum, message = "Should be the same set") assert_equal Set.new(expected_enum), Set.new(enum), message end -end \ No newline at end of file +end