Update Library/Homebrew/test/cli/named_args_spec.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
parent
cad665406e
commit
0938500721
@ -188,7 +188,7 @@ describe Homebrew::CLI::NamedArgs do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "resolves kegs with multiple versions with #resolve_keg" do
|
it "resolves kegs with multiple versions with #resolve_keg" do
|
||||||
expect(described_class.new("foo").to_kegs.map(&->(k) { k.version.version })).to eq ["1.0", "2.0"]
|
expect(described_class.new("foo").to_kegs.map { |k| k.version.version }).to eq ["1.0", "2.0"]
|
||||||
end
|
end
|
||||||
|
|
||||||
it "when there are no matching kegs returns an empty array" do
|
it "when there are no matching kegs returns an empty array" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user