Skip to content

Commit fa6a026

Browse files
committed
add fix to missed-out test case (make sure spiral is blank)
1 parent 14b92b0 commit fa6a026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ bool test_sxbp_load_spiral() {
403403
}
404404

405405
// call load_spiral with buffer and write to output spiral
406-
sxbp_spiral_t output;
406+
sxbp_spiral_t output = sxbp_blank_spiral();
407407
sxbp_load_spiral(buffer, &output);
408408

409409
if(output.size != expected.size) {

0 commit comments

Comments
 (0)