diff --git a/manualclock/wait.go b/manualclock/wait.go index 88d6b25..a744eb3 100644 --- a/manualclock/wait.go +++ b/manualclock/wait.go @@ -22,13 +22,13 @@ import ( // nonwaiting represents the set of goroutine statuses that do not indicate waiting. var nonwaiting = map[string]struct{}{ - "idle": struct{}{}, - "runnable": struct{}{}, - "running": struct{}{}, - "syscall": struct{}{}, - "dead": struct{}{}, - "enqueue": struct{}{}, - "copystack": struct{}{}, + "idle": {}, + "runnable": {}, + "running": {}, + "syscall": {}, + "dead": {}, + "enqueue": {}, + "copystack": {}, } type waitpoint struct {