From 654e0b6679f3436bacbf685223d6ab68f707a62f Mon Sep 17 00:00:00 2001 From: r00ster91 Date: Mon, 3 Oct 2022 19:52:39 +0200 Subject: fix(text): hyphenation and other fixes --- lib/std/testing.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/std/testing.zig') 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); -- cgit v1.2.3