summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-07-22 03:13:10 +0900
committeraycabta <aycabta@gmail.com>2020-07-22 03:13:17 +0900
commit0faf02718a75fb7c338c9ec7c27b284b4cf2f874 (patch)
tree9753e49f65f7b7caac0235a0aa1ac8c621154a8e /test/irb
parent1d0e8fd4bb92cbd91c37757ff3b84603754e1b4a (diff)
Use simple assersion
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_context.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index 014280de22..7fc5f755cf 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -108,9 +108,7 @@ module TestIRB
irb.eval_input
end
assert_empty err
- assert_pattern_list([:*, /\(Object doesn't support #inspect\)/,
- :*, /=> \n/,
- /\s*/], out)
+ assert_equal("(Object doesn't support #inspect)\n=> \n", out)
ensure
$VERBOSE = verbose
end