Updated RateProfile Compile test

This commit is contained in:
Trial97
2020-08-07 10:41:19 +03:00
committed by Dan Christian Bogos
parent eab8b248a4
commit 657617da2e

View File

@@ -255,7 +255,7 @@ func TestRateProfileCompile(t *testing.T) {
Weight: 30,
ActivationTime: "error",
}
if err := rt.Compile(); err == nil || err.Error() != "Expected exactly 5 fields, found 1: error" {
if err := rt.Compile(); err == nil || err.Error() != "expected exactly 5 fields, found 1: [error]" {
t.Error(err)
}
}