(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestFileLockManager_BasicLockUnlock(t *testing.T) { |
| 10 | mgr := NewFileLockManager() |
| 11 | |
| 12 | mgr.Lock("test.go") |
| 13 | mgr.Unlock("test.go") |
| 14 | // Should not panic or deadlock |
| 15 | } |
| 16 | |
| 17 | func TestFileLockManager_WithLock(t *testing.T) { |
| 18 | mgr := NewFileLockManager() |
nothing calls this directly
no test coverage detected