-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
- followup on testament: nimout now consistently uses nimoutCheck #16189, there should be a
doAssert nimout.len > 0when that testament spec is explicitly set, since nimout usesnimoutCheckwhich allows subset line matches. - else, we need to distinguish between
nimoutvsnimoutExactor equivalent (EDIT: see testament: addnimoutFull: boolspec #17867 which addsnimoutFull: bool)
Example
in tests/stdlib/turi.nim + a few others:
nimout: ""Current Output
testament spec accepted
Expected Output
doAssert failure (doAssert is fine if we consider testament + its tests as a whole, otherwise we can also raise an InvalidSpecError if we consider testament + its tests as 2 separate entities for use in library code)
Additional Information
1.5.1 edce589