diff options
author | 2015-07-28 08:35:31 -0700 | |
---|---|---|
committer | 2015-07-28 08:35:31 -0700 | |
commit | e71314fe26c314a79509a1b660f16a427698b992 (patch) | |
tree | eac7afd4a4aef8d81f6e22d65cff69eb53e67ff3 /src/node/test/surface_test.js | |
parent | 7aa149137255bd6385b9eae6a6e5e910b9e0be80 (diff) | |
parent | 8a67d39ada064b65e10a918d30be1e8bd21e84ac (diff) |
Merge pull request #2477 from ctiller/sometimes-its-good-just-to-check-in-with-each-other
Client connectivity API
Diffstat (limited to 'src/node/test/surface_test.js')
-rw-r--r-- | src/node/test/surface_test.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/node/test/surface_test.js b/src/node/test/surface_test.js index 9005cbd505..98f9b15bfc 100644 --- a/src/node/test/surface_test.js +++ b/src/node/test/surface_test.js @@ -260,9 +260,8 @@ describe('Echo metadata', function() { }); it('shows the correct user-agent string', function(done) { var version = require('../package.json').version; - var call = client.unary({}, function(err, data) { - assert.ifError(err); - }, {key: ['value']}); + var call = client.unary({}, function(err, data) { assert.ifError(err); }, + {key: ['value']}); call.on('metadata', function(metadata) { assert(_.startsWith(metadata['user-agent'], 'grpc-node/' + version)); done(); |