From d9484e983eed4be2d8457cebf6adeca39e9f1576 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 3 Jan 2017 06:15:54 +0000 Subject: test/inherit: fix ambiguous parenthese warning Who tests the tests? --- test/inherit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7