summaryrefslogtreecommitdiff
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 7dbf27e552c..0bfca5ad052 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -203,7 +203,7 @@ CODE
assert_raise(ArgumentError) { "foo"[1, 2, 3] = "" }
- assert_raise(IndexError) {"foo"[RbConfig::Limits["LONG_MIN"]] = "l"}
+ assert_raise(IndexError) {"foo"[RbConfig::LIMITS["LONG_MIN"]] = "l"}
end
def test_CMP # '<=>'