Overview
| Artifact ID: | 60066a877b911aab2b4328a1ec3b6b010a14bbda |
|---|---|
| Ticket: | 513983ffffffffffffffffffffffffffffffffff
invalid calls to [test] should throw errors |
| User & Date: | kenstir on 2002-02-06 22:07:57 |
Changes
- assignee changed to: "melissachawla"
- cmimetype changed to: "text/plain"
- comment changed to:
With tcltest-1.0, if I called the tcltest::test proc with the wrong number of arguments, or a wrong argument, it threw an error. With tcltest-2.0.1, it returns 1. This is a significant regression. It is not reasonable to fill up my .test files with checks for the return value of tcltest::test. Yet, if I omit such checks, the failure would be easy to overlook. This patch replaces every 'return 1' with a call to 'error'.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kenstir"
- subsystem changed to: "34. tcltest Package"
- title changed to: "fix regression; throw tcltest errors"
- type changed to: "Patch"