From b550034c8b4fd861ccc6f18bbb0cf5538db3466f Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 9 Nov 2014 13:12:14 +0000 Subject: Fix typos in assert messages [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_exception.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/ruby/test_exception.rb') 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 -- cgit v1.2.3