Skip to content

Commit ef3f562

Browse files
committed
Fix tests
1 parent 3335452 commit ef3f562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/wasm_reader/reader.d

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ unittest {
279279
}
280280

281281
unittest {
282-
ubyte[] data = [0x00, 0x1d, 0x01, 65, 0x06, 0x60, 0x01, 0x7f, 0x00, 0x60, 0x02, 0x7f, 0x7f, 0x01, 0x7f, 0x60, 0x01, 0x7f, 0x01, 0x7f, 0x60, 0x01, 0x7d, 0x01, 0x7f, 0x60, 0x02, 0x7f, 0x7f, 0x00, 0x60, 0x00, 0x00];
283-
data.read!Section.shouldEqual(Section(0, 29, 1, "A", [6, 96, 1, 127, 0, 96, 2, 127, 127, 1, 127, 96, 1, 127, 1, 127, 96, 1, 125, 1, 127, 96, 2, 127, 127, 0, 96, 0, 0]));
282+
ubyte[] data = [0x00, 0x1f, 0x01, 65, 0x06, 0x60, 0x01, 0x7f, 0x00, 0x60, 0x02, 0x7f, 0x7f, 0x01, 0x7f, 0x60, 0x01, 0x7f, 0x01, 0x7f, 0x60, 0x01, 0x7d, 0x01, 0x7f, 0x60, 0x02, 0x7f, 0x7f, 0x00, 0x60, 0x00, 0x00];
283+
data.read!Section.shouldEqual(Section(0, 31, 1, "A", [6, 96, 1, 127, 0, 96, 2, 127, 127, 1, 127, 96, 1, 127, 1, 127, 96, 1, 125, 1, 127, 96, 2, 127, 127, 0, 96, 0, 0]));
284284
data.length.shouldEqual(0);
285285
}
286286

0 commit comments

Comments
 (0)