summaryrefslogtreecommitdiff
path: root/test/ruby/envutil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r--test/ruby/envutil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index d97118cd44..4d76a504af 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -497,7 +497,7 @@ eom
unless match
msg = message(msg) {
expect_msg = "Expected #{mu_pp pattern}\n"
- if /\n[^\n]+\n/ =~ rest
+ if /\n[^\n]/ =~ rest
actual_mesg = "to match\n"
rest.scan(/.*\n+/) {
actual_mesg << ' ' << $&.inspect << "+\n"