test/import/metadata/test_metadata.rb in rant-0.4.4 vs test/import/metadata/test_metadata.rb in rant-0.4.6
- old
+ new
@@ -22,11 +22,11 @@
assert_equal("\"touch a\"\n\"touch a\"\n", out)
end
def test_subdir
out, err = assert_rant("subdir=true", "sub/b")
assert(err.empty?)
- assert_equal("nil\nnil\ntouch b\n", out)
+ assert_equal("nil\nnil\n(in sub)\ntouch b\n", out)
assert(test(?f, ".rant.meta"))
assert(test(?f, "sub/.rant.meta"))
out, err = assert_rant("subdir=true", "sub/b")
assert(err.empty?)
assert_equal("\"touch a\"\n\"create b\"\n", out)
@@ -35,10 +35,10 @@
run_import("-q", "--auto", "make.t")
assert_exit
FileUtils.rm ".rant.meta"
out = run_ruby("make.t", "subdir=true", "sub/b")
assert_exit
- assert_equal("nil\nnil\ntouch b\n", out)
+ assert_equal("nil\nnil\n(in sub)\ntouch b\n", out)
assert(test(?f, ".rant.meta"))
assert(test(?f, "sub/.rant.meta"))
out = run_ruby("make.t", "subdir=true", "sub/b")
assert_exit
assert_equal("\"touch a\"\n\"create b\"\n", out)