diff options
author | 2017-04-04 16:58:05 -0700 | |
---|---|---|
committer | 2017-04-04 16:58:05 -0700 | |
commit | f712ae76f4ecf032c7be2f880d5193d5d4c35332 (patch) | |
tree | 1f80869959af5edf05e9ed67b9aadd979a50331e /src/node/test/common_test.js | |
parent | c84d67e85b7939abffab996995562be06edb0854 (diff) |
Fix a couple of issues with the use of the Protobuf.js API
Diffstat (limited to 'src/node/test/common_test.js')
-rw-r--r-- | src/node/test/common_test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/test/common_test.js b/src/node/test/common_test.js index 39ff6a5f1f..e1ce864f97 100644 --- a/src/node/test/common_test.js +++ b/src/node/test/common_test.js @@ -176,7 +176,7 @@ describe('Proto message oneof serialize and deserialize', function() { var test_message2 = {oneof_choice: 'string_choice', string_choice: 'abc'}; var serialized2 = oneofSerialize(test_message2); var deserialized2 = oneofDeserialize(serialized2); - assert.equal(deserialized2.oneof_choice, 'int_choice'); + assert.equal(deserialized2.oneof_choice, 'string_choice'); }); }); describe('Proto message enum serialize and deserialize', function() { |