Skip to content

Commit c2bd002

Browse files
committed
test: mark float equal test function as test helper
Signed-off-by: ghosind <ghosind@gmail.com>
1 parent ea377e5 commit c2bd002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compare_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func TestFloatEqualAndFloatNotEqual(t *testing.T) {
149149
}
150150

151151
func testFloatEqualAndFloatNotEqual(a, mockA *Assertion, v1, v2, epsilon any, isEqual bool) {
152-
// a.T.Helper()
152+
a.T.Helper()
153153

154154
// FloatEqual
155155
testAssertionFunction(a, "FloatEqual", func() error {

0 commit comments

Comments
 (0)