icon: reduce maximum line length

This commit is contained in:
Dominyk Tiller 2018-09-01 01:55:52 +01:00
parent 33e7986eac
commit 24f2485b27
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -25,6 +25,8 @@ class Icon < Formula
end
test do
assert_equal "Hello, World!", shell_output("#{bin}/icon -P 'procedure main(); writes(\"Hello, World!\"); end'")
args = "'procedure main(); writes(\"Hello, World!\"); end'"
output = shell_output("#{bin}/icon -P #{args}")
assert_equal "Hello, World!", output
end
end