16 lines
227 B
Go
16 lines
227 B
Go
package api
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestSystem_GarbageCollect(t *testing.T) {
|
|
t.Parallel()
|
|
c, s := makeClient(t, nil, nil)
|
|
defer s.Stop()
|
|
e := c.System()
|
|
if err := e.GarbageCollect(); err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|