We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958d664 commit 8293facCopy full SHA for 8293fac
1 file changed
flock_internal_test.go
@@ -15,7 +15,7 @@ func Test(t *testing.T) {
15
lock := New(tmpFile)
16
locked, err := lock.TryLock()
17
if locked == false || err != nil {
18
- t.Fatal("failed to lock")
+ t.Fatalf("failed to lock: locked: %t, err: %v", locked, err)
19
}
20
21
newLock := New(tmpFile)
0 commit comments