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_help.rb | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Library/Homebrew/test/test_help.rb (limited to 'Library/Homebrew/test/test_help.rb') diff --git a/Library/Homebrew/test/test_help.rb b/Library/Homebrew/test/test_help.rb deleted file mode 100644 index 9c14f9b78..000000000 --- a/Library/Homebrew/test/test_help.rb +++ /dev/null @@ -1,21 +0,0 @@ -require "helper/integration_command_test_case" - -class IntegrationCommandTestHelp < IntegrationCommandTestCase - def test_help - assert_match "Example usage:\n", - cmd_fail # Generic help (empty argument list). - assert_match "Unknown command: command-that-does-not-exist", - cmd_fail("help", "command-that-does-not-exist") - assert_match(/^brew cat /, - cmd_fail("cat")) # Missing formula argument triggers help. - - assert_match "Example usage:\n", - cmd("help") # Generic help. - assert_match(/^brew cat /, - cmd("help", "cat")) # Internal command (documented, Ruby). - assert_match(/^brew update /, - cmd("help", "update")) # Internal command (documented, Shell). - assert_match(/^brew update-test /, - cmd("help", "update-test")) # Internal developer command (documented, Ruby). - end -end -- cgit v1.2.3