summaryrefslogtreecommitdiff
path: root/test/lib/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-07 12:08:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-07 12:08:24 +0000
commit72ce1a4759b853b02eab31786acbb69ba80b4fd8 (patch)
tree9baae6fcbfe704913222d315364b4d0b651a6a75 /test/lib/test
parent181f3719bb0df0d0886d069f4385a1e87b7fe8a2 (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')
-rw-r--r--test/lib/test/unit/assertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb
index 6d255f5..4ba13a8 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