aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds_command.rb
blob: 33cfdc8ed5cc2ea1e7cfeb59daa6af97cd7959d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "integration_cmds_tests"

class IntegrationCommandTestCommand < IntegrationCommandTests
  def test_command
    assert_equal "#{HOMEBREW_LIBRARY_PATH}/cmd/info.rb",
                 cmd("command", "info")

    assert_match "Unknown command",
                 cmd_fail("command", "I-don't-exist")
  end
end