Minor fixup
This commit is contained in:
parent
bd4f404d45
commit
36c1d82146
@ -151,6 +151,7 @@ are mostly useful for developers. Use with care.
|
|||||||
- "events" (the events package)
|
- "events" (the events package)
|
||||||
- "files" (the files package)
|
- "files" (the files package)
|
||||||
- "http" (the main package; HTTP requests)
|
- "http" (the main package; HTTP requests)
|
||||||
|
- "locks" (the sync package; trace long held locks)
|
||||||
- "net" (the main package; connections & network messages)
|
- "net" (the main package; connections & network messages)
|
||||||
- "model" (the model package)
|
- "model" (the model package)
|
||||||
- "scanner" (the scanner package)
|
- "scanner" (the scanner package)
|
||||||
|
|||||||
@ -16,6 +16,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestTypes(t *testing.T) {
|
func TestTypes(t *testing.T) {
|
||||||
|
debug = false
|
||||||
|
|
||||||
if _, ok := NewMutex().(*sync.Mutex); !ok {
|
if _, ok := NewMutex().(*sync.Mutex); !ok {
|
||||||
t.Error("Wrong type")
|
t.Error("Wrong type")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user