Test/pathname/test_pathname.rb

e$B9bLn$G$9!#e(B

http://svn.ruby-lang.org/repos/ruby/trunk
e$B$Ne(B
test/pathname/test_pathname.rb
e$B$K$D$$$F!"%F%9%H$7$F$$$k%U%l!<%`%o!<%/$,0[$J$C$F$$$k$h$&$G$9!#e(B

e$B85$Oe(Bminiunite$B$r;HMQ$7$F$$$^$7$?!#e(B

Index: /home/takano/ruby/test/pathname/test_pathname.rb

— /home/takano/ruby/test/pathname/test_pathname.rb (e$B%j%S%8%g%se(B
19651)
+++ /home/takano/ruby/test/pathname/test_pathname.rb (e$B:n6H%3%T!<e(B)
@@ -462,8 +462,8 @@
str = “a”
obj = Pathname.new(str)
assert_equal(str, obj.to_s)

  • refute_same(str, obj.to_s)
  • refute_same(obj.to_s, obj.to_s)
  • assert_not_same(str, obj.to_s)
  • assert_not_same(obj.to_s, obj.to_s)
    end