Skip to content

Commit 375cfba

Browse files
committed
Fix ambiguous argument warning
Fixes: ``` /test/test_spawn.rb:325: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
1 parent a56a885 commit 375cfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_spawn.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def test_spawn_raises_exception_on_unsupported_options
322322
end
323323
end
324324

325-
assert_match /oops/, exception.message
325+
assert_match(/oops/, exception.message)
326326
end
327327

328328
##

0 commit comments

Comments
 (0)