(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestSetCacheMaxSize(t *testing.T) { |
| 90 | err := SetCacheMaxSize(0) |
| 91 | checkFatal(t, err) |
| 92 | |
| 93 | err = SetCacheMaxSize(1024 * 1024) |
| 94 | checkFatal(t, err) |
| 95 | |
| 96 | // revert to default 256MB |
| 97 | err = SetCacheMaxSize(256 * 1024 * 1024) |
| 98 | checkFatal(t, err) |
| 99 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…