summaryrefslogtreecommitdiff
path: root/test/ruby/test_range.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_range.rb')
-rw-r--r--test/ruby/test_range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_range.rb b/test/ruby/test_range.rb
index 77d026c912..fef7acc062 100644
--- a/test/ruby/test_range.rb
+++ b/test/ruby/test_range.rb
@@ -22,7 +22,7 @@ class TestRange < Test::Unit::TestCase
def test_frozen_initialize
r = Range.allocate
r.freeze
- assert_raise(RuntimeError){r.__send__(:initialize, 1, 2)}
+ assert_raise(FrozenError){r.__send__(:initialize, 1, 2)}
end
def test_range_string