diff options
| author | Markus Reiter | 2016-10-21 08:57:39 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-11-16 23:52:37 +0100 |
| commit | 6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2 (patch) | |
| tree | 60fcf247ce650e96a0d8f5588cd1a8d79d57aeb8 /Library/Homebrew/test/test_help.rb | |
| parent | edf042ee97f80955b077724119e717a51eb25e29 (diff) | |
| download | brew-6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2.tar.bz2 | |
Reorder and rename test files.
Diffstat (limited to 'Library/Homebrew/test/test_help.rb')
| -rw-r--r-- | Library/Homebrew/test/test_help.rb | 21 |
1 files changed, 0 insertions, 21 deletions
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 |
