Skip to content

Commit d1eedbf

Browse files
authored
Merge pull request #232111 from Homebrew/pathname-hijk
[hijk]*: fix pathname
2 parents dd004fe + cf553bb commit d1eedbf

21 files changed

+29
-29
lines changed

Formula/h/helm-ls.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def install
3434
test do
3535
require "open3"
3636

37-
assert_match version.to_s, shell_output(bin/"helm_ls version")
37+
assert_match version.to_s, shell_output("#{bin}/helm_ls version")
3838

3939
json = <<~JSON
4040
{

Formula/h/himalaya.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ def install
6363
message.send.backend.auth.cmd = "*****"
6464
TOML
6565

66-
assert_match "cannot authenticate to IMAP server", shell_output(bin/"himalaya 2>&1", 1)
66+
assert_match "cannot authenticate to IMAP server", shell_output("#{bin}/himalaya 2>&1", 1)
6767
end
6868
end

Formula/h/hugo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ def install
4242
system bin/"hugo", "new", "site", site
4343
assert_path_exists site/"hugo.toml"
4444

45-
assert_match version.to_s, shell_output(bin/"hugo version")
45+
assert_match version.to_s, shell_output("#{bin}/hugo version")
4646
end
4747
end

Formula/i/icloudpd.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ def install
171171
end
172172

173173
test do
174-
assert_match version.to_s, shell_output(bin/"icloudpd --version")
174+
assert_match version.to_s, shell_output("#{bin}/icloudpd --version")
175175

176-
output = shell_output(bin/"icloudpd -u brew -p brew --auth-only 2>&1", 1)
176+
output = shell_output("#{bin}/icloudpd -u brew -p brew --auth-only 2>&1", 1)
177177
assert_match "Authenticating...", output
178178
end
179179
end

Formula/i/imap-backup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def install
2727
end
2828

2929
test do
30-
assert_match "Choose an action:", pipe_output(bin/"imap-backup setup", "3\n")
30+
assert_match "Choose an action:", pipe_output("#{bin}/imap-backup setup", "3\n")
3131
assert_match version.to_s, shell_output("#{bin}/imap-backup version")
3232
end
3333
end

Formula/i/imessage-exporter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def install
2626
end
2727

2828
test do
29-
assert_match version.to_s, shell_output(bin/"imessage-exporter --version")
30-
output = shell_output(bin/"imessage-exporter --diagnostics 2>&1")
29+
assert_match version.to_s, shell_output("#{bin}/imessage-exporter --version")
30+
output = shell_output("#{bin}/imessage-exporter --diagnostics 2>&1")
3131
assert_match "Invalid configuration", output
3232
end
3333
end

Formula/i/ipsw.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def install
3434
end
3535

3636
test do
37-
assert_match version.to_s, shell_output(bin/"ipsw version")
37+
assert_match version.to_s, shell_output("#{bin}/ipsw version")
3838

39-
assert_match "iPad Pro (12.9-inch) (6th gen)", shell_output(bin/"ipsw device-list")
39+
assert_match "iPad Pro (12.9-inch) (6th gen)", shell_output("#{bin}/ipsw device-list")
4040
end
4141
end

Formula/j/jaguar.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ def install
3434
end
3535

3636
test do
37-
assert_match "Version:\t v#{version}", shell_output(bin/"jag --no-analytics version 2>&1")
37+
assert_match "Version:\t v#{version}", shell_output("#{bin}/jag --no-analytics version 2>&1")
3838

3939
(testpath/"hello.toit").write <<~TOIT
4040
main:
4141
print "Hello, world!"
4242
TOIT
4343

4444
# Cannot do anything without installing SDK to $HOME/.cache/jaguar/
45-
assert_match "You must setup the SDK", shell_output(bin/"jag run #{testpath}/hello.toit 2>&1", 1)
45+
assert_match "You must setup the SDK", shell_output("#{bin}/jag run #{testpath}/hello.toit 2>&1", 1)
4646
end
4747
end

Formula/j/jnv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def install
2323
end
2424

2525
test do
26-
assert_match version.to_s, shell_output(bin/"jnv --version")
26+
assert_match version.to_s, shell_output("#{bin}/jnv --version")
2727

2828
output = pipe_output("#{bin}/jnv 2>&1", "homebrew", 1)
2929
expected_output = if OS.mac?

Formula/j/joshuto.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def install
2929
(testpath/"test.txt").write("Hello World!")
3030
fork { exec bin/"joshuto", "--path", testpath }
3131

32-
assert_match "joshuto-#{version}", shell_output(bin/"joshuto --version")
32+
assert_match "joshuto-#{version}", shell_output("#{bin}/joshuto --version")
3333
end
3434
end

0 commit comments

Comments
 (0)