You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==== validate-2.2 validator throws error FAILED
==== Contents of test case:
#<<<
list [catch {
parse_args::parse_args {-rating ""} {
-rating {-validate {tcl::mathop::+ 1}}
}
} r o] $r [dict get $o -errorcode]
---- Result was:
1 {Validation failed for "-rating": can't use empty string as operand of "+"} {PARSE_ARGS VALIDATION
-rating}
---- Result should have been (exact matching):
1 {Validation failed for "-rating": can't use empty string "" as operand of "+"} {PARSE_ARGS VALIDAT
ION -rating}
==== validate-2.2 FAILED
Activity