Import Tcl 8.6.10
This commit is contained in:
@@ -962,6 +962,24 @@ test basic-48.23.$noComp {expansion: handle return codes} -constraints $constrai
|
||||
unset res t
|
||||
} -result {0 10 1 Hejsan}
|
||||
|
||||
test basic-48.24.$noComp {expansion: empty not canonical list, regression test, bug [cc1e91552c]} -constraints $constraints -setup {
|
||||
unset -nocomplain a
|
||||
} -body {
|
||||
run {list [list {*}{ }] [list {*}[format %c 32]] [list {*}[set a { }]]}
|
||||
} -result [lrepeat 3 {}] -cleanup {unset -nocomplain a}
|
||||
|
||||
test basic-48.25.$noComp {Bug cc191552c: expansion: empty non-canonical list} -constraints $constraints -setup {
|
||||
unset -nocomplain ::CRLF
|
||||
set ::CRLF "\r\n"
|
||||
} -body {
|
||||
# Force variant that turned up in Bug 2c154a40be as that's externally
|
||||
# noticeable in an important downstream project.
|
||||
run {scan [list {*}$::CRLF]x %c%c%c}
|
||||
} -cleanup {
|
||||
unset -nocomplain ::CRLF
|
||||
} -result {120 {} {}}
|
||||
|
||||
|
||||
} ;# End of noComp loop
|
||||
|
||||
test basic-49.1 {Tcl_EvalEx: verify TCL_EVAL_GLOBAL operation} testevalex {
|
||||
|
||||
Reference in New Issue
Block a user