summaryrefslogtreecommitdiff
path: root/test/lib/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/test/unit')
-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 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