Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Mar 22, 2023
1 parent 662eb51 commit 1ff02ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mock_suey/mock_contract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def initialize(contract, msg)
def captured_calls_message(calls)
calls.map do |call|
contract.args_pattern.map.with_index do |arg, i|
(ANYTHING == arg) ? "_" : call.arguments[i].inspect
(arg == ANYTHING) ? "_" : call.arguments[i].inspect
end.join(", ").then do |args_desc|
" (#{args_desc}) -> #{call.return_value.class}"
end
Expand Down

0 comments on commit 1ff02ec

Please sign in to comment.