From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../files/launchy-2.4.2-drop-failing-test.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch (limited to 'dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch') diff --git a/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch new file mode 100644 index 000000000000..00a0d4bf27e0 --- /dev/null +++ b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch @@ -0,0 +1,25 @@ +diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb +index 8cfa8e7..3886ce3 100644 +--- a/spec/applications/browser_spec.rb ++++ b/spec/applications/browser_spec.rb +@@ -12,20 +12,7 @@ describe Launchy::Application::Browser do + ENV.delete( 'KDE_FULL_SESSION' ) + ENV.delete( 'BROWSER' ) + end + +- { 'windows' => 'start "launchy" /b' , +- 'darwin' => '/usr/bin/open', +- 'cygwin' => 'cmd /C start "launchy" /b', +- +- # when running these tests on a linux box, this test will fail +- 'linux' => nil }.each do |host_os, cmdline| +- it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do +- Launchy.host_os = host_os +- browser = Launchy::Application::Browser.new +- browser.app_list.first.must_equal cmdline +- end +- end +- + %w[ linux windows darwin cygwin ].each do |host_os| + it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do + ENV['BROWSER'] = "my_special_browser --new-tab '%s'" -- cgit v1.2.3