Skip to content

Commit

Permalink
fix: test oneof
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucaso1 committed Sep 9, 2024
1 parent cb14411 commit 6e0de1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/oneof.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

export function readEnvelope(pbf, end) {
return pbf.readFields(readEnvelopeField, {id: 0, int: 0, value: undefined, float: 0, string: ""}, end);
return pbf.readFields(readEnvelopeField, {id: 0, int: 0, float: 0, string: ""}, end);
}
function readEnvelopeField(tag, obj, pbf) {
if (tag === 1) obj.id = pbf.readVarint(true);
Expand Down

0 comments on commit 6e0de1a

Please sign in to comment.