summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/irb/test_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index 7fc5f755cf..55bd6ff63e 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -108,7 +108,7 @@ module TestIRB
irb.eval_input
end
assert_empty err
- assert_equal("(Object doesn't support #inspect)\n=> \n", out)
+ assert(/\(Object doesn't support #inspect\)\n(=> )?\n/, out)
ensure
$VERBOSE = verbose
end