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

add an assertion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-10-08 10:06:43 +00:00
parent 470a309c4a
commit d245085630

View file

@ -322,6 +322,7 @@ class TestM17NComb < Test::Unit::TestCase
(s1.ascii_only? && s2.ascii_only? or
s1.encoding == s2.encoding) then
assert(s1 == s2, desc_eq)
assert(s1.eql?(s2), desc_eq)
assert(!(s1 != s2))
assert_equal(0, s1 <=> s2)
assert(s1.eql?(s2), desc_eq)