1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update cpu stat test for no error

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-06-02 11:54:23 -07:00
parent f1a217be0f
commit 30fdac2cb1

View file

@ -43,8 +43,8 @@ func TestNoCpuStatFile(t *testing.T) {
cpu := &cpuGroup{}
err := cpu.GetStats(helper.CgroupData, &actualStats)
if err == nil {
t.Fatal("Expected to fail, but did not.")
if err != nil {
t.Fatal("Expected not to fail, but did")
}
}