aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_command.rb
blob: d05184631305b7505274d29b083f6781378b1748 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "helper/integration_command_test_case"

class IntegrationCommandTestCommand < IntegrationCommandTestCase
  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