splint: fix test (#23366)

This commit is contained in:
ilovezfs 2018-01-27 13:03:03 -08:00 committed by GitHub
parent 077a1db8ee
commit 008ff99656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ class Splint < Formula
EOS
output = shell_output("#{bin}/splint #{path} 2>&1", 1)
assert_match "5:18: Variable c used before definition", output
assert_match /5:18:\s+Variable c used before definition/, output
end
end