test/tc/symlink.rb in rio-0.3.3 vs test/tc/symlink.rb in rio-0.3.4
- old
+ new
@@ -31,10 +31,10 @@
def check_link(lnk,dst)
assert(lnk.symlink?, "symlink?")
assert_equal('link',lnk.ftype)
assert_equal(dst.exist?,lnk.exist?)
if dst.exist?
- assert_equal(dst.slurp,lnk.slurp)
+ assert_equal(dst.contents,lnk.contents)
end
end
def compare_links(exp,ans)
assert_equal(exp.exist?,ans.exist?)
assert_equal(exp.symlink?,ans.symlink?)