aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/command_test.rb
blob: d5c7aaa88c947f0554cce803163f23e0f0a4700e (plain)
1
2
3
4
5
6
7
8
9
10
11
require "testing_env"

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