From 3a1784a5a70add0a03359bb5e25c76db96da2c33 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 3 Feb 2018 20:50:30 -0600 Subject: [PATCH] Add image, stream to eject test --- tests/apple2.dd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/apple2.dd.c b/tests/apple2.dd.c index 613a0b7..7af30df 100644 --- a/tests/apple2.dd.c +++ b/tests/apple2.dd.c @@ -81,7 +81,10 @@ Test(apple2_dd, read) Test(apple2_dd, eject) { + drive->image = vm_segment_create(1000); drive->data = vm_segment_create(1000); + drive->image_type = DD_NIBBLE; + drive->stream = NULL; apple2_dd_eject(drive); cr_assert_eq(drive->data, NULL); }