test/test_cli.rb in tracksperanto-2.8.5 vs test/test_cli.rb in tracksperanto-2.8.6
- old
+ new
@@ -27,10 +27,10 @@
end
def test_cli_with_nonexisting_file
status, o, e = cli(TEMP_DIR + "/nonexisting.file")
assert_equal 1, status
- assert_equal "Input file #{TEMP_DIR + "/nonexisting.file"} does not exist\n", e
+ assert_match /Input file #{TEMP_DIR + "/nonexisting.file"} does not exist/, e
end
def test_basic_cli
status, o, e = cli(TEMP_DIR + "/flm.stabilizer")
assert_equal 0, status, "Should exit with a normal status"
\ No newline at end of file