Update test/api/error_test.js

Co-Authored-By: Michael Lumish <mlumish@google.com>
This commit is contained in:
CyrusNajmabadi 2020-01-13 16:51:37 -08:00 committed by GitHub
parent b52d38f663
commit 5b2af32d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
assert.ifError(err);
});
call.on('status', function(status) {
assert.true(status.metadata.get('existing-metadata', []));
assert.deepStrictEqual(status.metadata.get('existing-metadata'), []);
done();
});
});
@ -689,4 +689,4 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
});
});
});
});
});