ruby-changes:62349
From: aycabta <ko1@a...>
Date: Wed, 22 Jul 2020 03:14:28 +0900 (JST)
Subject: [ruby-changes:62349] 0faf02718a (master): Use simple assersion
https://git.ruby-lang.org/ruby.git/commit/?id=0faf02718a From 0faf02718a75fb7c338c9ec7c27b284b4cf2f874 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 22 Jul 2020 03:13:10 +0900 Subject: Use simple assersion diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index 014280d..7fc5f75 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -108,9 +108,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_context.rb#L108 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/