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

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