aboutsummaryrefslogtreecommitdiff
path: root/lib/std/child_process.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-22 02:04:48 -0700
committerGitHub <noreply@github.com>2024-03-22 02:04:48 -0700
commitd8bb139da44d9140fd8992608fcbbddcd1816889 (patch)
treea6277199a72ae9ae6265c7b2dd8274d8e54d220a /lib/std/child_process.zig
parenta2651cbc829d44df4c3773037598b30e8cf0c4da (diff)
parent90c94a2f0b7ce71aae1b69cf9e7b517c3a771906 (diff)
downloadzig-d8bb139da44d9140fd8992608fcbbddcd1816889.tar.gz
zig-d8bb139da44d9140fd8992608fcbbddcd1816889.zip
Merge pull request #19390 from ziglang/valgrind
make the behavior tests run almost valgrind clean
Diffstat (limited to 'lib/std/child_process.zig')
-rw-r--r--lib/std/child_process.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig
index c9db06d40b..dcc00b77d5 100644
--- a/lib/std/child_process.zig
+++ b/lib/std/child_process.zig
@@ -1231,7 +1231,7 @@ fn windowsCreateProcessSupportsExtension(ext: []const u16) ?CreateProcessSupport
return null;
}
-test "windowsCreateProcessSupportsExtension" {
+test windowsCreateProcessSupportsExtension {
try std.testing.expectEqual(CreateProcessSupportedExtension.exe, windowsCreateProcessSupportsExtension(&[_]u16{ '.', 'e', 'X', 'e' }).?);
try std.testing.expect(windowsCreateProcessSupportsExtension(&[_]u16{ '.', 'e', 'X', 'e', 'c' }) == null);
}
@@ -1322,7 +1322,7 @@ pub fn argvToCommandLineWindows(
return try unicode.wtf8ToWtf16LeAllocZ(allocator, buf.items);
}
-test "argvToCommandLineWindows" {
+test argvToCommandLineWindows {
const t = testArgvToCommandLineWindows;
try t(&.{
@@ -1556,7 +1556,7 @@ pub fn createNullDelimitedEnvMap(arena: mem.Allocator, env_map: *const EnvMap) !
return envp_buf;
}
-test "createNullDelimitedEnvMap" {
+test createNullDelimitedEnvMap {
const testing = std.testing;
const allocator = testing.allocator;
var envmap = EnvMap.init(allocator);