We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61fac8d commit d558681Copy full SHA for d558681
Formula/z/zero-install.rb
@@ -74,12 +74,12 @@ def install
74
end
75
76
test do
77
- (testpath/"hello.sh").write <<~EOS
+ (testpath/"hello.sh").write <<~SH
78
#!/bin/sh
79
echo "hello world"
80
- EOS
+ SH
81
chmod 0755, testpath/"hello.sh"
82
- (testpath/"hello.xml").write <<~EOS
+ (testpath/"hello.xml").write <<~XML
83
<?xml version="1.0" ?>
84
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile">
85
<name>hello-bash</name>
@@ -92,7 +92,7 @@ def install
92
</implementation>
93
</group>
94
</interface>
95
+ XML
96
assert_equal "hello world\n", shell_output("#{bin}/0launch --console hello.xml")
97
98
0 commit comments