aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/proto3_test.js
diff options
context:
space:
mode:
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();