Commit c1ea3f8b authored by David Renshaw's avatar David Renshaw

fix copy-pasto in recently-added test case

parent cfd813e4
...@@ -378,12 +378,12 @@ KJ_TEST("Bit list with nonzero pad bits") { ...@@ -378,12 +378,12 @@ KJ_TEST("Bit list with nonzero pad bits") {
} }
KJ_TEST("Pointer list unequal to struct list") { KJ_TEST("Pointer list unequal to struct list") {
AlignedData<2> segment1 = {{ AlignedData<1> segment1 = {{
// list with zero pointer-sized elements // list with zero pointer-sized elements
0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
}}; }};
kj::ArrayPtr<const word> segments1[1] = { kj::ArrayPtr<const word> segments1[1] = {
kj::arrayPtr(segment1.words, 2) kj::arrayPtr(segment1.words, 1)
}; };
SegmentArrayMessageReader message1(kj::arrayPtr(segments1, 1)); SegmentArrayMessageReader message1(kj::arrayPtr(segments1, 1));
......
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