aboutsummaryrefslogtreecommitdiff
path: root/js/binary/proto_test.js
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2016-10-10 13:58:39 -0700
committerGitHub <noreply@github.com>2016-10-10 13:58:39 -0700
commitfd046f6263fb17383cafdbb25c361e3451c31105 (patch)
tree5879fa426bd0cf22df5a7ee39d25b8ece7c117f8 /js/binary/proto_test.js
parent337a028bb65ccca4dda768695950b5aba53ae2c9 (diff)
parentdaba6653f1289b58873c2ae993afcdb82035d2fb (diff)
downloadprotobuf-fd046f6263fb17383cafdbb25c361e3451c31105.tar.gz
protobuf-fd046f6263fb17383cafdbb25c361e3451c31105.tar.bz2
protobuf-fd046f6263fb17383cafdbb25c361e3451c31105.zip
Merge pull request #2234 from TeBoring/master
Merge 3.1.x branch into master.
Diffstat (limited to 'js/binary/proto_test.js')
-rw-r--r--js/binary/proto_test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/binary/proto_test.js b/js/binary/proto_test.js
index 14d0f42e..26e1d30f 100644
--- a/js/binary/proto_test.js
+++ b/js/binary/proto_test.js
@@ -496,7 +496,7 @@ describe('protoBinaryTest', function() {
msg.setRepeatedBytesList([BYTES_B64, BYTES_B64]);
assertGetters();
- msg.setRepeatedBytesList(null);
+ msg.setRepeatedBytesList([]);
assertEquals(0, msg.getRepeatedBytesList().length);
assertEquals(0, msg.getRepeatedBytesList_asB64().length);
assertEquals(0, msg.getRepeatedBytesList_asU8().length);