[v3][process] Fix Test_Process_Status test with new Status() API

This commit is contained in:
Lomanic 2020-11-07 00:54:04 +01:00
parent 29304ebf73
commit 907e475a45
1 changed files with 2 additions and 2 deletions

View File

@ -198,8 +198,8 @@ func Test_Process_Status(t *testing.T) {
if len(v) == 0 {
t.Errorf("could not get state")
}
if v[0] != "R" && v[0] != "S" {
t.Errorf("get wrong state, %v", v)
if v[0] != Running && v[0] != Sleep {
t.Errorf("got wrong state, %v", v)
}
}