Skip to content

Commit 6d86407

Browse files
committed
Add t.Helper() to test.
1 parent 6d28ef8 commit 6d86407

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

adapter_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525
)
2626

2727
func testGetPolicy(t *testing.T, e *casbin.Enforcer, res [][]string) {
28+
t.Helper()
2829
myRes := e.GetPolicy()
2930
log.Print("Policy: ", myRes)
3031

0 commit comments

Comments
 (0)