brew/Library/Homebrew/test/command_test.rb
2016-11-16 23:52:38 +01:00

12 lines
305 B
Ruby

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