diff options
| author | r00ster91 <r00ster91@proton.me> | 2022-10-03 19:52:39 +0200 |
|---|---|---|
| committer | r00ster91 <r00ster91@proton.me> | 2022-10-05 21:19:10 +0200 |
| commit | 654e0b6679f3436bacbf685223d6ab68f707a62f (patch) | |
| tree | 3d643918bf5ab0e1a0754eeca210ee63cdd452e4 /lib/std/testing.zig | |
| parent | 34835bbbcfe81cc87e823d14dc9b25e698ad5edc (diff) | |
| download | zig-654e0b6679f3436bacbf685223d6ab68f707a62f.tar.gz zig-654e0b6679f3436bacbf685223d6ab68f707a62f.zip | |
fix(text): hyphenation and other fixes
Diffstat (limited to 'lib/std/testing.zig')
| -rw-r--r-- | lib/std/testing.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/testing.zig b/lib/std/testing.zig index 2279e6ef09..60a778ad7a 100644 --- a/lib/std/testing.zig +++ b/lib/std/testing.zig @@ -213,8 +213,8 @@ pub fn expectFmt(expected: []const u8, comptime template: []const u8, args: anyt /// This function is intended to be used only in tests. When the actual value is /// not approximately equal to the expected value, prints diagnostics to stderr /// to show exactly how they are not equal, then returns a test failure error. -/// See `math.approxEqAbs` for more informations on the tolerance parameter. -/// The types must be floating point. +/// See `math.approxEqAbs` for more information on the tolerance parameter. +/// The types must be floating-point. pub fn expectApproxEqAbs(expected: anytype, actual: @TypeOf(expected), tolerance: @TypeOf(expected)) !void { const T = @TypeOf(expected); @@ -245,8 +245,8 @@ test "expectApproxEqAbs" { /// This function is intended to be used only in tests. When the actual value is /// not approximately equal to the expected value, prints diagnostics to stderr /// to show exactly how they are not equal, then returns a test failure error. -/// See `math.approxEqRel` for more informations on the tolerance parameter. -/// The types must be floating point. +/// See `math.approxEqRel` for more information on the tolerance parameter. +/// The types must be floating-point. pub fn expectApproxEqRel(expected: anytype, actual: @TypeOf(expected), tolerance: @TypeOf(expected)) !void { const T = @TypeOf(expected); |
