fix ruby syntax warnings
Closes Homebrew/homebrew#42409. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
1af6ffa950
commit
a5a1cc9865
@ -9,7 +9,7 @@ class FormulaValidationTests < Homebrew::TestCase
|
||||
|
||||
def test_cant_override_brew
|
||||
e = assert_raises(RuntimeError) { formula { def brew; end } }
|
||||
assert_match /You cannot override Formula#brew/, e.message
|
||||
assert_match(/You cannot override Formula#brew/, e.message)
|
||||
end
|
||||
|
||||
def test_validates_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user