(name string)
| 86 | } |
| 87 | |
| 88 | func lockTestZeroDepth(name string) bool { |
| 89 | switch name[len(name)-1] { |
| 90 | case 'i': |
| 91 | return false |
| 92 | case 'z': |
| 93 | return true |
| 94 | } |
| 95 | panic(fmt.Sprintf("lock name %q did not end with 'i' or 'z'", name)) |
| 96 | } |
| 97 | |
| 98 | func TestMemLSCanCreate(t *testing.T) { |
| 99 | now := time.Unix(0, 0) |
no outgoing calls
no test coverage detected