Skip to content

Commit

Permalink
string literal interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
copiousfreetime committed May 3, 2024
1 parent dc8c0d6 commit a1f8472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/launchy/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def find_executable(bin, *paths)
return file
end
end
Launchy.log "#{name} : Unable to find `#{bin}' in #{paths.join(", ")}"
Launchy.log "#{name} : Unable to find `#{bin}' in #{paths.join(', ')}"
nil
end

Expand Down
2 changes: 1 addition & 1 deletion spec/launchy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
it "opens a local file if we have a drive letter and a valid path on windows" do
uri = "C:#{__FILE__}"
Launchy.open(uri, dry_run: true, host_os: "windows")
_($stdout.string.strip).must_equal "start launchy /b " + uri
_($stdout.string.strip).must_equal "start launchy /b #{uri}"
end

it "opens a data url with a forced browser application" do
Expand Down

0 comments on commit a1f8472

Please sign in to comment.