1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)

should be false.
* ChangeLog: fix last messages.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-02-08 13:28:03 +00:00
parent cff97cc9f0
commit a0abd3c4b1
2 changed files with 19 additions and 10 deletions

View file

@ -1,6 +1,15 @@
Thu Feb 8 22:26:14 2007 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo)
should be false.
* ChangeLog: fix last messages.
Thu Feb 8 22:24:06 2007 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_module.rb: fix to use Symbol instead of String
* test/ruby/test_module.rb: fix to use Symbol instead of String.
* test/ruby/test_module.rb: remove space before argument parentheses.
Thu Feb 8 22:02:14 2007 Koichi Sasada <ko1@atdot.net>

View file

@ -153,7 +153,7 @@ class TestString < Test::Unit::TestCase
end
def test_EQUAL # '=='
assert_equal(true, S("foo") == :foo)
assert_equal(false, S("foo") == :foo)
assert(S("abcdef") == S("abcdef"))
pre_1_7_1 do
@ -223,7 +223,7 @@ class TestString < Test::Unit::TestCase
end
def test_VERY_EQUAL # '==='
assert_equal(true, S("foo") === :foo)
# assert_equal(true, S("foo") === :foo)
casetest(S("abcdef"), S("abcdef"))
pre_1_7_1 do