also looking at this
test: make CI exercise maintained integrations
#18
16 files
+390
-139
| @@ -219,8 +219,8 @@ pub fn example_custom_directory() !void { | ||
| 219 | 219 | std.debug.print("Example 11: Snapshot created in custom directory\n", .{}); |
| 220 | 220 | |
| 221 | 221 | // 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 {}; | |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /// Example 12: Custom File Extension |
| @@ -237,7 +237,7 @@ pub fn example_custom_extension() !void { | ||
| 237 | 237 | std.debug.print("Example 12: Snapshot with custom extension created\n", .{}); |
| 238 | 238 | |
| 239 | 239 | // Cleanup |
| 240 | std.fs.cwd().deleteFile(".snapshots/custom_ext_test.snapshot") catch {}; | |
| 240 | zig_test.compat.deleteFile(allocator, ".snapshots/custom_ext_test.snapshot") catch {}; | |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /// Example 13: Multiple Formats Comparison |