diff --git a/Library/Homebrew/test/sorbet/tapioca/compilers/args_spec.rb b/Library/Homebrew/test/sorbet/tapioca/compilers/args_spec.rb index 7cc5318923fca..cd21686a80f72 100644 --- a/Library/Homebrew/test/sorbet/tapioca/compilers/args_spec.rb +++ b/Library/Homebrew/test/sorbet/tapioca/compilers/args_spec.rb @@ -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