Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2c8b01d3c5faabd244e76de7129d956bee0fd8ee
Ticket: 3377401fffffffffffffffffffffffffffffffff
Tcltest -output ignores newlines
User & Date: kryali on 2011-07-26 01:53:22
Changes

  1. icomment:
    Ah, after following some advice, I modified the construction of the test to work. As below:
    
    package require tcltest 2.0 
    namespace import ::tcltest::*
    test new-1 { match newline outputs } -setup {
        } -body {
            puts "Hello World"
        } -output {Hello World
    }
    
    
  2. login: "kryali"
  3. mimetype: "text/plain"
  4. username: "kryali"