summaryrefslogtreecommitdiff
path: root/test/ruby/test_exception.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-09 13:12:14 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-09 13:12:14 +0000
commitb550034c8b4fd861ccc6f18bbb0cf5538db3466f (patch)
tree72e936a9b6214519f3e42951353fbb290266d615 /test/ruby/test_exception.rb
parentf02f13c78b3f873a4e434f705fe41073ea90ce5a (diff)
Fix typos in assert messages [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r--test/ruby/test_exception.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index be8d20d34a..bb291c08d4 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -140,7 +140,7 @@ class TestException < Test::Unit::TestCase
throw :foo, true
break
end
- assert(false, "should no reach here")
+ assert(false, "should not reach here")
end
false
}
@@ -151,7 +151,7 @@ class TestException < Test::Unit::TestCase
assert_nothing_raised(ArgumentError) {
result = catch {|obj|
throw obj, :ok
- assert(false, "should no reach here")
+ assert(false, "should not reach here")
}
assert_equal(:ok, result)
}
@@ -161,9 +161,9 @@ class TestException < Test::Unit::TestCase
assert_raise_with_message(ArgumentError, /uncaught throw/) {
catch("foo") {|obj|
throw obj.dup, :ok
- assert(false, "should no reach here")
+ assert(false, "should not reach here")
}
- assert(false, "should no reach here")
+ assert(false, "should not reach here")
}
end