summaryrefslogtreecommitdiff
path: root/test/ruby/test_stringchar.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
commita7357c196559f3181e359662d92cb06d7b18e3cb (patch)
tree449e30f756b8267489357d3241fbf517c01d4f6c /test/ruby/test_stringchar.rb
parentd7c5b0518a91b9e636f441c9488d749c435e2247 (diff)
* test/ruby/test_*.rb: assert_same, assert_match, and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_stringchar.rb')
-rw-r--r--test/ruby/test_stringchar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_stringchar.rb b/test/ruby/test_stringchar.rb
index 9e22bb35a0..e9b643ad3f 100644
--- a/test/ruby/test_stringchar.rb
+++ b/test/ruby/test_stringchar.rb
@@ -5,7 +5,7 @@ $KCODE = 'none'
class TestStringchar < Test::Unit::TestCase
def test_string
assert_equal("abcd", "abcd")
- assert("abcd" =~ /abcd/)
+ assert_match(/abcd/, "abcd")
assert("abcd" === "abcd")
# compile time string concatenation
assert_equal("abcd", "ab" "cd")