diff options
Diffstat (limited to 'internal/store/store_test.go')
| -rw-r--r-- | internal/store/store_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/store/store_test.go b/internal/store/store_test.go index 54f28bdd..9abf480e 100644 --- a/internal/store/store_test.go +++ b/internal/store/store_test.go @@ -12,13 +12,15 @@ import ( "syscall" "testing" "time" - _ "unsafe" + _ "unsafe" // for go:linkname "hakurei.app/container/check" "hakurei.app/hst" "hakurei.app/internal/store" ) +// Made available here to check bigLock error handling behaviour. +// //go:linkname bigLock hakurei.app/internal/store.(*Store).bigLock func bigLock(s *store.Store) (unlock func(), err error) |
