14 lines
301 B
Ruby
14 lines
301 B
Ruby
![]() |
require "integration_cmds_tests"
|
||
|
|
||
|
class IntegrationCommandTestList < IntegrationCommandTests
|
||
|
def test_list
|
||
|
formulae = %w[bar foo qux]
|
||
|
formulae.each do |f|
|
||
|
(HOMEBREW_CELLAR/"#{f}/1.0/somedir").mkpath
|
||
|
end
|
||
|
|
||
|
assert_equal formulae.join("\n"),
|
||
|
cmd("list")
|
||
|
end
|
||
|
end
|