Skip to content

Commit b4ae885

Browse files
committed
Re-apply prettier format
1 parent 340d57a commit b4ae885

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

test/zz_encoder_bugs.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,16 @@ describe("Specific bugs testing", function() {
145145
});
146146

147147
it("should accept readUntil=eof and no encodeUntil provided", function() {
148-
var parser = Parser.start()
149-
.array("arr", {
150-
type: 'uint8',
151-
readUntil: 'eof' // Read until end of buffer
152-
});
148+
var parser = Parser.start().array("arr", {
149+
type: "uint8",
150+
readUntil: "eof" // Read until end of buffer
151+
});
153152

154153
var buffer = Buffer.from("01020304050607", "hex");
155154
var decoded = parser.parse(buffer);
156155

157156
assert.deepEqual(decoded, {
158-
arr: [
159-
1,2,3,4,5,6,7
160-
]
157+
arr: [1, 2, 3, 4, 5, 6, 7]
161158
});
162159

163160
var encoded = parser.encode(decoded);

0 commit comments

Comments
 (0)