summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubytest.rb')
-rwxr-xr-xrubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb
index e5cc9ba1ab..c1236705c0 100755
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -42,7 +42,7 @@ srcdir = File.dirname(__FILE__)
print "test succeeded\n"
exit true
end
- error << line if line =~ %r:^(sample/test.rb|not):
+ error << line if %r:^(sample/test.rb|not): =~ line
end
print error
print "test failed\n"