diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2008-11-27 08:23:51 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2008-11-27 08:23:51 (GMT) |
commit | b3c483496b534112065b4bc5a60f2f4c85c85a03 (patch) | |
tree | 5ca6dc7e5906603f5aaa71449b054d51c5402db0 /tests/parse.test | |
parent | af5fd80ac65755d299d93e203c672f974594e42d (diff) | |
download | tcl-b3c483496b534112065b4bc5a60f2f4c85c85a03.zip tcl-b3c483496b534112065b4bc5a60f2f4c85c85a03.tar.gz tcl-b3c483496b534112065b4bc5a60f2f4c85c85a03.tar.bz2 |
Alternate fix for[Bug 2251175]: missing backslash substitution on expanded literals.
Diffstat (limited to 'tests/parse.test')
-rw-r--r-- | tests/parse.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parse.test b/tests/parse.test index 404f0a8..9427254 100644 --- a/tests/parse.test +++ b/tests/parse.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: parse.test,v 1.35 2008/11/17 22:37:36 ferrieux Exp $ +# RCS: @(#) $Id: parse.test,v 1.36 2008/11/27 08:23:52 ferrieux Exp $ if {[catch {package require tcltest 2.0.2}]} { puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required." @@ -234,7 +234,7 @@ test parse-5.28 {Tcl_ParseCommand: {*} parsing, expanded literals} testparser { } {- {{*}{a b}} 2 simple a 1 text a 0 simple b 1 text b 0 {}} test parse-5.29 {Tcl_ParseCommand: {*} parsing, expanded literals, naked backslashes} testparser { testparser {{*}{a \n b}} 0 -} {- {{*}{a \n b}} 3 simple a 1 text a 0 word {\n} 1 text-to-collapse {\n} 0 simple b 1 text b 0 {}} +} {- {{*}{a \n b}} 1 expand {{*}{a \n b}} 1 text {a \n b} 0 {}} test parse-6.1 {ParseTokens procedure, empty word} testparser { testparser {""} 0 |