Commit ed1cd2c5 authored by Yilun Chong's avatar Yilun Chong

fix

parent 82a4e4e3
......@@ -388,7 +388,6 @@ jspb.BinaryReader.prototype.skipFixed64Field = function() {
* Skips over the next group field in the binary stream.
*/
jspb.BinaryReader.prototype.skipGroup = function() {
// Keep a stack of start-group tags that must be matched by end-group tags.
var previousField = this.nextField_;
do {
if (!this.nextField()) {
......
......@@ -680,6 +680,7 @@ describe('binaryReaderTest', function() {
var dummyMessage = /** @type {!jspb.BinaryMessage} */({});
writer.writeGroup(5, dummyMessage, function() {
writer.writeInt64(42, 42);
writer.writeInt64(44, 44);
writer.writeString(43, 'The quick brown fox jumps over the lazy dog');
writer.writeGroup(6, dummyMessage, function() {
writer.writeInt64(84, 42);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment