Skip to content

Commit

Permalink
Merge pull request #16909 from Homebrew/dduugg-fix-flaky-test
Browse files Browse the repository at this point in the history
Fix flaky Tapioca::Compilers::Args test
  • Loading branch information
MikeMcQuaid authored Mar 18, 2024
2 parents 2cc3ce9 + 0c4c4a8 commit 8e67ee2
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions Library/Homebrew/test/sorbet/tapioca/compilers/args_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,10 @@

describe "#args_table" do
it "returns a mapping of list args to default values" do
expect(compiler.args_table(list_parser)).to eq({
"1?": false,
cask?: false,
casks?: false,
d?: false,
debug?: false,
formula?: false,
formulae?: false,
full_name?: false,
h?: false,
help?: false,
l?: false,
multiple?: false,
pinned?: false,
q?: false,
quiet?: false,
r?: false,
t?: false,
v?: false,
verbose?: false,
versions?: false,
})
expect(compiler.args_table(list_parser).keys).to contain_exactly(
:"1?", :cask?, :casks?, :d?, :debug?, :formula?, :formulae?, :full_name?, :h?, :help?, :l?, :multiple?,
:pinned?, :q?, :quiet?, :r?, :t?, :v?, :verbose?, :versions?
)
end

it "rreturns a mapping of update-python-resources args to default values" do
Expand Down

0 comments on commit 8e67ee2

Please sign in to comment.