Skip to content

Commit 0eda267

Browse files
authored
Update flock_internal_test.go
1 parent 8293fac commit 0eda267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flock_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func Test(t *testing.T) {
2121
newLock := New(tmpFile)
2222
locked, err = newLock.TryLock()
2323
if locked != false || err != nil {
24-
t.Fatal("should have failed locking")
24+
t.Fatalf("should have failed locking: locked: %t, err: %v", locked, err)
2525
}
2626

2727
if newLock.fh != nil {

0 commit comments

Comments
 (0)