From 6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 21 Oct 2016 08:57:39 +0200 Subject: Reorder and rename test files. --- Library/Homebrew/test/test_link.rb | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Library/Homebrew/test/test_link.rb (limited to 'Library/Homebrew/test/test_link.rb') diff --git a/Library/Homebrew/test/test_link.rb b/Library/Homebrew/test/test_link.rb deleted file mode 100644 index 3f0507072..000000000 --- a/Library/Homebrew/test/test_link.rb +++ /dev/null @@ -1,23 +0,0 @@ -require "helper/integration_command_test_case" - -class IntegrationCommandTestLink < IntegrationCommandTestCase - def test_link - assert_match "This command requires a keg argument", cmd_fail("link") - - setup_test_formula "testball1" - cmd("install", "testball1") - cmd("link", "testball1") - - cmd("unlink", "testball1") - assert_match "Would link", cmd("link", "--dry-run", "testball1") - assert_match "Would remove", - cmd("link", "--dry-run", "--overwrite", "testball1") - assert_match "Linking", cmd("link", "testball1") - - setup_test_formula "testball2", <<-EOS.undent - keg_only "just because" - EOS - cmd("install", "testball2") - assert_match "testball2 is keg-only", cmd("link", "testball2") - end -end -- cgit v1.2.3