aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-08-27 16:05:51 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-08-28 18:30:57 -0700
commitf7884961c230367cefd3dfbf730ac5277297dc63 (patch)
treee9f49ef21141371c1643a28ac7aa7347afc43cba /test
parent4f510dba10872cf7b71d1a48b4dc5879444f89d7 (diff)
downloadzig-f7884961c230367cefd3dfbf730ac5277297dc63.tar.gz
zig-f7884961c230367cefd3dfbf730ac5277297dc63.zip
update more to avoid GenericWriter
Diffstat (limited to 'test')
-rw-r--r--test/standalone/run_output_paths/create_file.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/standalone/run_output_paths/create_file.zig b/test/standalone/run_output_paths/create_file.zig
index da949d4fc1..260c36f10c 100644
--- a/test/standalone/run_output_paths/create_file.zig
+++ b/test/standalone/run_output_paths/create_file.zig
@@ -10,7 +10,8 @@ pub fn main() !void {
dir_name, .{});
const file_name = args.next().?;
const file = try dir.createFile(file_name, .{});
- try file.deprecatedWriter().print(
+ var file_writer = file.writer(&.{});
+ try file_writer.interface.print(
\\{s}
\\{s}
\\Hello, world!