diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2018-08-22 16:52:46 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2018-08-22 16:52:46 +0100 |
commit | fba18d8551dcd515b8f6b85b03a9dbda1c2e0272 (patch) | |
tree | 26042f8ff2e1f4283298b65f17b8322539877d29 /src/ruby/pb | |
parent | 35cde99212ece5cde100a905f94974ffb6f18be9 (diff) |
Fix a number of spelling errors.
Diffstat (limited to 'src/ruby/pb')
-rwxr-xr-x | src/ruby/pb/test/client.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ruby/pb/test/client.rb b/src/ruby/pb/test/client.rb index 1b9d7cbbe6..cfed7ca12a 100755 --- a/src/ruby/pb/test/client.rb +++ b/src/ruby/pb/test/client.rb @@ -681,13 +681,13 @@ class NamedTests # Send probing message for compressed request on the server, to see # if it's implemented. def send_probe_for_compressed_request_support(&send_probe) - bad_status_occured = false + bad_status_occurred = false begin send_probe.call rescue GRPC::BadStatus => e if e.code == GRPC::Core::StatusCodes::INVALID_ARGUMENT - bad_status_occured = true + bad_status_occurred = true else fail AssertionError, "Bad status received but code is #{e.code}" end @@ -696,7 +696,7 @@ class NamedTests end assert('CompressedRequest probe failed') do - bad_status_occured + bad_status_occurred end end |