Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d535f343315b84c32a2ae68ab5da88b4afb42b61
Ticket: 495977ffffffffffffffffffffffffffffffffff
-constraints broken by \n
User & Date: dgp on 2001-12-21 22:17:09
Changes

  1. assignee changed to: "melissachawla"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The -constraints option of tcltest::test is documented:
    
    "...can be list of one or more keywords or an
    expression."
    
    However, if one includes a \n in the value, like so:
    
    test ... -constraints {
    foo bar
    } -body ...
    
    Then the processing of the -constraints attribute
    interprets the value as an expression, even though
    it's a valid list of keywords.  The undesired
    result is that a single constraint "...  foo bar ..."
    is enforced instead of the combination of
    constraint foo and constraint bar.
    
    This can be worked around by using [list] to construct
    the list of constraint keywords, but that should not
    be required.
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "-constraints broken by \n"
  11. type changed to: "Bug"