diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-26 23:43:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 23:43:02 -0800 |
| commit | 085bde6889925b486291ddf1450b6bb6c8562a8f (patch) | |
| tree | 02f7a49b4378dc2387b825bfc19825405f4502ca /lib/std/io/fixed_buffer_stream.zig | |
| parent | 4e2570baafb587c679ee0fc5e113ddeb36522a5d (diff) | |
| parent | 726a1149e05669e5cc05a16ce877bbb2be787e39 (diff) | |
| download | zig-085bde6889925b486291ddf1450b6bb6c8562a8f.tar.gz zig-085bde6889925b486291ddf1450b6bb6c8562a8f.zip | |
Merge pull request #19087 from squeek502/redundant-test-naming
Remove redundant test name prefixes now that test names are fully qualified
Diffstat (limited to 'lib/std/io/fixed_buffer_stream.zig')
| -rw-r--r-- | lib/std/io/fixed_buffer_stream.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/io/fixed_buffer_stream.zig b/lib/std/io/fixed_buffer_stream.zig index 8b64923fe7..14e5e5de43 100644 --- a/lib/std/io/fixed_buffer_stream.zig +++ b/lib/std/io/fixed_buffer_stream.zig @@ -132,7 +132,7 @@ fn Slice(comptime T: type) type { } } -test "FixedBufferStream output" { +test "output" { var buf: [255]u8 = undefined; var fbs = fixedBufferStream(&buf); const stream = fbs.writer(); @@ -141,7 +141,7 @@ test "FixedBufferStream output" { try testing.expectEqualSlices(u8, "HelloWorld!", fbs.getWritten()); } -test "FixedBufferStream output at comptime" { +test "output at comptime" { comptime { var buf: [255]u8 = undefined; var fbs = fixedBufferStream(&buf); @@ -152,7 +152,7 @@ test "FixedBufferStream output at comptime" { } } -test "FixedBufferStream output 2" { +test "output 2" { var buffer: [10]u8 = undefined; var fbs = fixedBufferStream(&buffer); @@ -175,7 +175,7 @@ test "FixedBufferStream output 2" { try testing.expectError(error.NoSpaceLeft, fbs.writer().writeAll("H")); } -test "FixedBufferStream input" { +test "input" { const bytes = [_]u8{ 1, 2, 3, 4, 5, 6, 7 }; var fbs = fixedBufferStream(&bytes); |
