authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 12:54:14 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 12:54:14 -08:00
log46e8118b9f98bb01cafe56866dd1b68ccd5c5d4f
tree98619dbf70925de4a3299b3eb6d92593fbbf42db
parentb8fec06fa26ec5ddd2b1b9cb5099de3a9df9109f

sync addTest result variable name with other packages


1 files changed, 4 insertions(+), 4 deletions(-)

build.zig+4-4
...@@ -9,15 +9,15 @@ pub fn build(b: *std.Build) void {...@@ -9,15 +9,15 @@ pub fn build(b: *std.Build) void {
9 .{ .root_source_file = b.path("src/lib.zig") },9 .{ .root_source_file = b.path("src/lib.zig") },
10 );10 );
1111
12 const exe_unit_tests = b.addTest(.{12 const tests = b.addTest(.{
13 .root_source_file = b.path("src/lib.zig"),13 .root_source_file = b.path("src/lib.zig"),
14 .target = target,14 .target = target,
15 .optimize = mode,15 .optimize = mode,
16 });16 });
1717
18 const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests);18 const run_tests = b.addRunArtifact(tests);
19 run_exe_unit_tests.has_side_effects = true;19 run_tests.has_side_effects = true;
2020
21 const test_step = b.step("test", "dummy test step to pass CI checks");21 const test_step = b.step("test", "dummy test step to pass CI checks");
22 test_step.dependOn(&run_exe_unit_tests.step);22 test_step.dependOn(&run_tests.step);
23}23}