Skip to content

Commit

Permalink
use array
Browse files Browse the repository at this point in the history
  • Loading branch information
copiousfreetime committed May 3, 2024
1 parent 81b20b1 commit eb2f9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/launchy_spec.rb
Expand Up @@ -134,7 +134,7 @@
_(app).must_equal(Launchy::Application::Browser)
end

["BROWSER", "bRoWsEr", "browser", "Browser"].each do |x|
%w[BROWSER bRoWsEr browser Browser].each do |x|
it "can find the browser by name #{x}" do
app = Launchy.app_for_name(x)
_(app).must_equal(Launchy::Application::Browser)
Expand Down

0 comments on commit eb2f9d7

Please sign in to comment.