brew/Library/Homebrew/test/test_outdated.rb

15 lines
375 B
Ruby
Raw Normal View History

2016-09-27 00:03:40 +02:00
require "helper/integration_command_test_case"
2016-09-27 00:03:40 +02:00
class IntegrationCommandTestOutdated < IntegrationCommandTestCase
def test_outdated
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
2016-09-30 18:41:54 +01:00
if ARGV.verbose?
assert_equal "testball (0.0.1) < 0.1", cmd("outdated")
else
assert_equal "testball", cmd("outdated")
end
end
end