Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 60066a877b911aab2b4328a1ec3b6b010a14bbda
Ticket: 513983ffffffffffffffffffffffffffffffffff
invalid calls to [test] should throw errors
User & Date: kenstir on 2002-02-06 22:07:57
Changes

  1. assignee changed to: "melissachawla"
  2. cmimetype changed to: "text/plain"
  3. 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'.
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kenstir"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "fix regression; throw tcltest errors"
  11. type changed to: "Patch"