Skip to content
Tcl Source Code View Ticket
Login

View Ticket

safe-8.8 tests the wrong thing

Closed / Fixed860a9f194541ec88d68126dfad4c806181088cd7Created 8 years agoUpdated 8 years ago
Descriptionplain2018-06-11 18:58:25
-rsrc is long gone and there are wrong#args tests earlier in the test file that look like they cover this situation already, albeit not with an obsolete option.
Test can probably be removed or maybe the comment changed to better reflect reality.

 test safe-8.8 {safe source forbids -rsrc} -setup {
    catch {safe::interpDelete $i}
    safe::interpCreate $i
} -body {
    $i eval {source -rsrc Init}
} -returnCodes error -cleanup {
    safe::interpDelete $i
} -result {wrong # args: should be "source ?-encoding E? fileName"}
Referenced by1
  • 3a43176c2a[860a9f1945] Remove test safe-8.8; Mac OS 9 tests are no longer useful. check-in2018-06-12 17:10:03
dgp Closed ticket [860a9f1945]. [History diff]2018-06-12 17:54:57
Log in (anonymous is fine) to add a comment.