Skip to content

Commit

Permalink
php: fix minor style discrepency
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Jul 21, 2016
1 parent 1f45b40 commit 4f37dc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/php/tests/interop/interop_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function statusCodeAndMessage($stub)
{
$echo_status = new grpc\testing\EchoStatus();
$echo_status->setCode(2);
$echo_status->setMessage("test status message");
$echo_status->setMessage('test status message');

$request = new grpc\testing\SimpleRequest();
$request->setResponseStatus($echo_status);
Expand All @@ -460,7 +460,7 @@ function statusCodeAndMessage($stub)

hardAssert($status->code === 2,
'Received unexpected status code');
hardAssert($status->details === "test status message",
hardAssert($status->details === 'test status message',
'Received unexpected status details');

$streaming_call = $stub->FullDuplexCall();
Expand All @@ -473,7 +473,7 @@ function statusCodeAndMessage($stub)
$status = $streaming_call->getStatus();
hardAssert($status->code === 2,
'Received unexpected status code');
hardAssert($status->details === "test status message",
hardAssert($status->details === 'test status message',
'Received unexpected status details');
}

Expand Down Expand Up @@ -570,9 +570,9 @@ function ($metadata,
}

if ($test_case == 'unimplemented_method') {
$stub = new grpc\testing\UnimplementedServiceClient($server_address, $opts);
$stub = new grpc\testing\UnimplementedServiceClient($server_address, $opts);
} else {
$stub = new grpc\testing\TestServiceClient($server_address, $opts);
$stub = new grpc\testing\TestServiceClient($server_address, $opts);
}

return $stub;
Expand Down

0 comments on commit 4f37dc3

Please sign in to comment.