aboutsummaryrefslogtreecommitdiff
path: root/js/proto3_test.js
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2016-09-19 13:45:07 -0700
committerBo Yang <teboring@google.com>2016-09-19 17:42:40 -0700
commit98835fb8f8a8f144f2a1eac0b833ff83f4a05f54 (patch)
tree49504df5c2020eb085c1826548c10a3cbd188e12 /js/proto3_test.js
parentb5bbdb0967109fbae7bfc423ef3cd6dc776359b6 (diff)
downloadprotobuf-98835fb8f8a8f144f2a1eac0b833ff83f4a05f54.tar.gz
protobuf-98835fb8f8a8f144f2a1eac0b833ff83f4a05f54.tar.bz2
protobuf-98835fb8f8a8f144f2a1eac0b833ff83f4a05f54.zip
Integrate internal changes
Diffstat (limited to 'js/proto3_test.js')
-rw-r--r--js/proto3_test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/proto3_test.js b/js/proto3_test.js
index fab0fd44..3c929eff 100644
--- a/js/proto3_test.js
+++ b/js/proto3_test.js
@@ -294,7 +294,7 @@ describe('proto3Test', function() {
msg.setOptionalForeignEnum(proto.jspb.test.Proto3Enum.PROTO3_BAR);
msg.setOptionalForeignEnum(proto.jspb.test.Proto3Enum.PROTO3_FOO);
msg.setOneofUint32(32);
- msg.setOneofUint32(null);
+ msg.clearOneofUint32();
var serialized = msg.serializeBinary();