No need to assert an error when the error is not nil

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen 2022-07-25 10:41:34 +08:00
parent 5e14c5dfa9
commit 79cac48b30

View File

@ -1163,7 +1163,7 @@ profiles:
}
return
}
assert.NoError(t, err)
t.Errorf("unexpected error to create a config: %v", err)
return
}