Skip to content

Commit

Permalink
Remove the /tmp/goxel_test.gox files
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Jan 21, 2024
1 parent 751ef14 commit cd4805c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ static void test_file(const char *b64_data, uint32_t crc32)
TEST(volume_crc32(goxel.image->active_layer->volume) == crc32);
image_delete(goxel.image);
goxel.image = image_new();
sys_delete_file("/tmp/goxel_test.gox");
}

static void test_load_file_v2(void)
Expand Down Expand Up @@ -125,6 +126,7 @@ static void test_load_corrupt(void)
fclose(file);
err = goxel_import_file("/tmp/goxel_test.gox", NULL);
TEST(err != 0);
sys_delete_file("/tmp/goxel_test.gox");
}

void tests_run(void)
Expand Down

0 comments on commit cd4805c

Please sign in to comment.