We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3335452 commit ef3f562Copy full SHA for ef3f562
source/wasm_reader/reader.d
@@ -279,8 +279,8 @@ unittest {
279
}
280
281
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]));
+ 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];
+ 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]));
284
data.length.shouldEqual(0);
285
286
0 commit comments