Skip to content

Commit

Permalink
test(dataproc-v1beta2): Fix Ruby 2.7 keyword arguments warning on uni…
Browse files Browse the repository at this point in the history
…t tests
  • Loading branch information
yoshi-automation authored Jun 28, 2020
1 parent ccf9217 commit 3fb1443
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion google-cloud-dataproc-v1beta2/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": "38d16f9092eaaf9e2124e73db4dccf2c0e9115b7"
"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
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
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
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
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
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
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 3fb1443

Please sign in to comment.