We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8293fac commit 0eda267Copy full SHA for 0eda267
flock_internal_test.go
@@ -21,7 +21,7 @@ func Test(t *testing.T) {
21
newLock := New(tmpFile)
22
locked, err = newLock.TryLock()
23
if locked != false || err != nil {
24
- t.Fatal("should have failed locking")
+ t.Fatalf("should have failed locking: locked: %t, err: %v", locked, err)
25
}
26
27
if newLock.fh != nil {
0 commit comments