about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/inherit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inherit.rb b/test/inherit.rb
index c3016dc..07b3841 100644
--- a/test/inherit.rb
+++ b/test/inherit.rb
@@ -172,6 +172,6 @@ class TestInherit < Test::Unit::TestCase
     assert_instance_of(TCPSocket, c)
     @to_close << c
     c.write "hello\n"
-    assert_match /ERROR: unknown command/, c.gets
+    assert_match(/ERROR: unknown command/, c.gets)
   end
 end