From 72ce1a4759b853b02eab31786acbb69ba80b4fd8 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 7 Nov 2014 12:08:24 +0000 Subject: test_exception.rb: more tests * test/ruby/test_exception.rb: more tests for catch and throw. catch but no throw, autogenerated tag, and uncaught throw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/test/unit/assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib/test/unit/assertions.rb') diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index 6d255f5869..4ba13a81e0 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -228,7 +228,7 @@ module Test end msg = message(msg) { "Expected #{mu_pp(tag)} to have been thrown"\ - "#{", not #{thrown}" if thrown}" + "#{%Q[, not #{thrown}] if thrown}" } assert(false, msg) end -- cgit v1.2.3