diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-02-24 21:29:01 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-02-24 21:29:23 -0700 |
| commit | 5f35dc0c0d0530d5a1d028c56a763def3d1fd250 (patch) | |
| tree | 75a0872005d2f0e5a1c12c31072a471e9ea185d8 /lib/std/array_hash_map.zig | |
| parent | d7049fc8e0709619b8aa6766b37abeae946703b2 (diff) | |
| download | zig-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.zig | 6 |
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); } } |
