Fix to_kegs test
This commit is contained in:
parent
0a1614286d
commit
d50b32313f
@ -188,7 +188,7 @@ describe Homebrew::CLI::NamedArgs do
|
||||
end
|
||||
|
||||
it "resolves kegs with multiple versions with #resolve_keg" do
|
||||
expect(described_class.new("foo").to_kegs.map { |k| k.version.version.to_s }).to eq ["1.0", "2.0"]
|
||||
expect(described_class.new("foo").to_kegs.map { |k| k.version.version.to_s }.sort).to eq ["1.0", "2.0"]
|
||||
end
|
||||
|
||||
it "when there are no matching kegs returns an empty array" do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user