aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-02-24 21:29:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-02-24 21:29:23 -0700
commit5f35dc0c0d0530d5a1d028c56a763def3d1fd250 (patch)
tree75a0872005d2f0e5a1c12c31072a471e9ea185d8 /lib/std/array_hash_map.zig
parentd7049fc8e0709619b8aa6766b37abeae946703b2 (diff)
downloadzig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.tar.gz
zig-5f35dc0c0d0530d5a1d028c56a763def3d1fd250.zip
zig fmt the std lib
Diffstat (limited to 'lib/std/array_hash_map.zig')
-rw-r--r--lib/std/array_hash_map.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/std/array_hash_map.zig b/lib/std/array_hash_map.zig
index 5008b3a4af..7b0d9ea4dd 100644
--- a/lib/std/array_hash_map.zig
+++ b/lib/std/array_hash_map.zig
@@ -1237,8 +1237,7 @@ test "shrink" {
if (i < 17) {
testing.expect(gop.found_existing == true);
testing.expect(gop.entry.value == i * 10);
- } else
- testing.expect(gop.found_existing == false);
+ } else testing.expect(gop.found_existing == false);
}
// Test `shrinkAndFree`.
@@ -1251,8 +1250,7 @@ test "shrink" {
if (i < 15) {
testing.expect(gop.found_existing == true);
testing.expect(gop.entry.value == i * 10);
- } else
- testing.expect(gop.found_existing == false);
+ } else testing.expect(gop.found_existing == false);
}
}