diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-07 12:08:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-07 12:08:24 +0000 |
commit | 72ce1a4759b853b02eab31786acbb69ba80b4fd8 (patch) | |
tree | 9baae6fcbfe704913222d315364b4d0b651a6a75 /test/lib/test/unit/assertions.rb | |
parent | 181f3719bb0df0d0886d069f4385a1e87b7fe8a2 (diff) |
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
Diffstat (limited to 'test/lib/test/unit/assertions.rb')
-rw-r--r-- | test/lib/test/unit/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |