-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
==== 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
Environment: Windows, msys2, mingw64
Metadata
Metadata
Assignees
Labels
No labels