Commit dd9b654a authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #455 from dwrensha/segment-words-copy-pasto

fix copy-pasto in recently-added test case
parents 6fa50aef c1ea3f8b
......@@ -378,12 +378,12 @@ KJ_TEST("Bit list with nonzero pad bits") {
}
KJ_TEST("Pointer list unequal to struct list") {
AlignedData<2> segment1 = {{
AlignedData<1> segment1 = {{
// list with zero pointer-sized elements
0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
}};
kj::ArrayPtr<const word> segments1[1] = {
kj::arrayPtr(segment1.words, 2)
kj::arrayPtr(segment1.words, 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