aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/test/math_client_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/test/math_client_test.js')
-rw-r--r--src/node/test/math_client_test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/test/math_client_test.js b/src/node/test/math_client_test.js
index 79df97871b..3461922e66 100644
--- a/src/node/test/math_client_test.js
+++ b/src/node/test/math_client_test.js
@@ -130,8 +130,7 @@ describe('Math client', function() {
});
call.write({dividend: 7, divisor: 0});
call.end();
- call.on('status', function checkStatus(status) {
- assert.notEqual(status.code, grpc.status.OK);
+ call.on('error', function checkStatus(status) {
done();
});
});