ReviewOS

also looking at this

zig-utils/zig-test-framework

test: make CI exercise maintained integrations

#18
Merged glennmichael123 wants to merge codex/issue-3-test-coverage into main
16 files +390 -139
examples/snapshot_examples.zigmodified+3-3
Changes to examples/snapshot_examples.zig
@@ -219,8 +219,8 @@ pub fn example_custom_directory() !void {
219219 std.debug.print("Example 11: Snapshot created in custom directory\n", .{});
220220
221221 // Cleanup
222 std.fs.cwd().deleteFile(".custom_snapshots/custom_dir_test.snap") catch {};
223 std.fs.cwd().deleteDir(".custom_snapshots") catch {};
222 zig_test.compat.deleteFile(allocator, ".custom_snapshots/custom_dir_test.snap") catch {};
223 zig_test.compat.deleteDir(allocator, ".custom_snapshots") catch {};
224224}
225225
226226/// Example 12: Custom File Extension
@@ -237,7 +237,7 @@ pub fn example_custom_extension() !void {
237237 std.debug.print("Example 12: Snapshot with custom extension created\n", .{});
238238
239239 // Cleanup
240 std.fs.cwd().deleteFile(".snapshots/custom_ext_test.snapshot") catch {};
240 zig_test.compat.deleteFile(allocator, ".snapshots/custom_ext_test.snapshot") catch {};
241241}
242242
243243/// Example 13: Multiple Formats Comparison