diff --git a/run_test.go b/run_test.go index 96f16ca..34e5d48 100644 --- a/run_test.go +++ b/run_test.go @@ -167,7 +167,7 @@ func TestRunFieldDepend(t *testing.T) { define.RequiredCondition{ DependOnField: "age", DependOnFieldType: "int", - DependOnFieldStatus: []string{consts.DataStatusIsEmpty, consts.DataStatusIsNil}, + DependOnFieldStatus: []string{consts.DataStatusIsEmpty, consts.DataStatusIsNil, consts.DataStatusNotFound}, }, }, },