Skip to content

Commit 43f54e1

Browse files
committed
More data in test error msg
1 parent 0272fe0 commit 43f54e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

winlsa_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
package winlsa
55

66
import (
7+
"fmt"
78
"testing"
89

910
"github.com/stretchr/testify/require"
@@ -18,6 +19,6 @@ func TestGetLogonSessions_GetLogonSessionData(t *testing.T) {
1819
for _, luid := range luids {
1920
sessionData, err := GetLogonSessionData(&luid)
2021
require.NoError(t, err, "getting logon session data")
21-
require.NotNil(t, sessionData.Sid, "session data missing SID")
22+
require.NotNil(t, sessionData.Sid, "session data missing SID", fmt.Sprintf("%+v", sessionData))
2223
}
2324
}

0 commit comments

Comments
 (0)