@@ -33,6 +33,8 @@ func TestDeepEqualAndNotDeepEqual(t *testing.T) {
3333}
3434
3535func testDeepEqualAndNotDeepEqual (a , mockA * Assertion , v1 , v2 any , isEqual bool ) {
36+ a .T .Helper ()
37+
3638 // DeepEqual
3739 testAssertionFunction (a , "DeepEqual" , func () error {
3840 return DeepEqual (mockA .T , v1 , v2 )
@@ -98,6 +100,8 @@ func TestEqualAndNotEqual(t *testing.T) {
98100}
99101
100102func testEqualAndNotEqual (a , mockA * Assertion , v1 , v2 any , isEqual bool ) {
103+ a .T .Helper ()
104+
101105 // Equal
102106 testAssertionFunction (a , "Equal" , func () error {
103107 return Equal (mockA .T , v1 , v2 )
@@ -144,6 +148,8 @@ func TestNilAndNotNil(t *testing.T) {
144148}
145149
146150func testNilAndNotNil (a , mockA * Assertion , v any , isNil bool ) {
151+ a .T .Helper ()
152+
147153 // Nil
148154 testAssertionFunction (a , "Nil" , func () error {
149155 return Nil (mockA .T , v )
@@ -194,6 +200,8 @@ func TestTrueAndNotTrue(t *testing.T) {
194200}
195201
196202func testTrueAndNotTrue (a , mockA * Assertion , v any , isTruthy bool ) {
203+ a .T .Helper ()
204+
197205 // True
198206 testAssertionFunction (a , "True" , func () error {
199207 return True (mockA .T , v )
0 commit comments