gcovr: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2016-09-23 19:57:07 +01:00
parent 26b3ef8f08
commit c59d4dc09a

View file

@ -14,7 +14,8 @@ class Gcovr < Formula
test do
(testpath/"example.c").write "int main() { return 0; }"
system *%W[cc -fprofile-arcs -ftest-coverage -fPIC -O0 -o example example.c]
system "cc", "-fprofile-arcs", "-ftest-coverage", "-fPIC", "-O0", "-o",
"example", "example.c"
assert_match "Code Coverage Report", shell_output("#{bin}/gcovr -r .")
end
end