Fix broken value expr tests

This commit is contained in:
Denis Arh
2020-11-30 20:31:02 +01:00
parent 791b002ed9
commit 01da39a484
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ func Test_validator_customExpr(t *testing.T) {
)
f.Expressions.Validators = []types.ModuleFieldValidator{
{Test: "value > 5", Error: "value is lower than 5"},
{Test: "value < 5", Error: "value is lower than 5"},
}
m.Fields = append(m.Fields, f)
r.Values = r.Values.Replace("num", "1")