Skip to content

Commit

Permalink
doc: fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed May 4, 2024
1 parent d27a1f0 commit 559be60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub const Test = struct {
self.assert(msg, x != y, reason);
}

// Assert that `x` is greater than `y` are not equal, naming the assertion with `msg`, which will be used as a label in the CLI runner.
// Assert that `x` is greater than `y`, naming the assertion with `msg`, which will be used as a label in the CLI runner.
pub fn assertGt(self: Test, msg: []const u8, x: anytype, y: anytype) void {
const reason = std.fmt.allocPrint(self.plugin.allocator, "Expected {} > {}", .{ x, y }) catch FORMAT_FAILED;
self.assert(msg, x > y, reason);
Expand Down

0 comments on commit 559be60

Please sign in to comment.