Commit c2a54e7a authored by Fletcher Haynes's avatar Fletcher Haynes

Fixes an off by one error in the vm prepend header function test module

parent 593af851
Pipeline #29501061 passed with stage
in 2 minutes and 34 seconds
......@@ -296,7 +296,7 @@ mod tests {
for byte in PIE_HEADER_PREFIX.into_iter() {
prepension.push(byte.clone());
}
while prepension.len() <= PIE_HEADER_LENGTH {
while prepension.len() < PIE_HEADER_LENGTH {
prepension.push(0);
}
prepension.append(&mut b);
......
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