-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
The error message about the expected value of the expectEqual is printed too close to the name of the failed test.
For example the following test
const testing = @import("std").testing;
test "failing test" {
const x = 5;
try testing.expectEqual(x, 2);
}produces the following line:
expected 5, found 2test "failing test"... FAIL (TestExpectedEqual)
Maybe a single space could be used after the expected 5, found 2?
Zig version: 0.8.0-dev.2237+8eea5eddf
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.