Skip to content

Commit

Permalink
test(container_analysis-v1): Fix Ruby 2.7 keyword arguments warning o…
Browse files Browse the repository at this point in the history
…n unit tests
  • Loading branch information
yoshi-automation authored Jun 28, 2020
1 parent d45bda6 commit 61c4dac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion google-cloud-container_analysis-v1/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-cloud-ruby.git",
"sha": "734b4c71cd32b85a4a1a873c42d1b3e17eaeb4d6"
"sha": "f8378095fa3814db457a7533e6d643476f0bf12e"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def initialize response, operation, &block
@requests = []
end

def call_rpc *args
def call_rpc *args, **kwargs
@call_rpc_count += 1

@requests << @block&.call(*args)
@requests << @block&.call(*args, **kwargs)

yield @response, @operation if block_given?

Expand Down

0 comments on commit 61c4dac

Please sign in to comment.