Skip to content

Commit

Permalink
run t/cmd_list.t in 'make test', marking the few failures todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Mar 31, 2010
1 parent 089e69c commit 2393e1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion build/Makefile.in
Expand Up @@ -71,6 +71,7 @@ TEST_FILES = \
t/cmd_join.t \
t/cmd_lassign.t \
t/cmd_lindex.t \
t/cmd_list.t \
t/cmd_llength.t \
t/cmd_lrange.t \
t/cmd_lrepeat.t \
Expand All @@ -89,7 +90,7 @@ TEST_FILES = \
# t/cmd_catch.t t/cmd_continue.t t/cmd_eval.t t/cmd_expr.t t/cmd_file.t
# t/cmd_fileevent.t t/cmd_foreach.t t/cmd_format.t t/cmd_gets.t
# t/cmd_global.t t/cmd_if.t t/cmd_info.t t/cmd_lappend.t t/cmd_linsert.t
# t/cmd_list.t t/cmd_lreplace.t t/cmd_lsort.t t/cmd_namespace.t
# t/cmd_lreplace.t t/cmd_lsort.t t/cmd_namespace.t
# t/cmd_proc.t t/cmd_regexp.t t/cmd_return.t t/cmd_set.t t/cmd_socket.t
# t/cmd_subst.t t/cmd_switch.t t/cmd_trace.t t/cmd_unset.t t/cmd_upvar.t
# t/cmd_variable.t t/cmd_vwait.t t/tcl_backslash.t t/tcl_conversion.t
Expand Down
10 changes: 5 additions & 5 deletions t/cmd_list.t
Expand Up @@ -12,14 +12,14 @@ is [list a b {c {d e}}] {a b {c {d e}}} {spaces with braces}
is [list a b "c {d e}"] {a b {c {d e}}} {spaces with quotes}
is [list {1 2} {3 4}] {{1 2} {3 4}} {spaces in two elements}

is [list "} {"] {\}\ \{} {braces with spaces}
is [list \{ \}] {\{ \}} {braces}
is [list "} {"] {\}\ \{} {braces with spaces} {TODO NQPRX}
is [list \{ \}] {\{ \}} {braces} {TODO NQPRX}

is [list "\n"] "{\n}" {newline}
is [list ";"] {{;}} {semicolon}
is [list "\t"] "{\t}" {tab}
is [list "$"] {{$}} {dollar}
is [list "\\"] {\\} {backslash}
is [list "\\"] {\\} {backslash} {TODO NQPRX}
is [list \[] {{[}} {open bracket}
is [list \]] {\]} {close bracket}

Expand All @@ -29,13 +29,13 @@ is [list #foo] {{#foo}} {comment hash}
is [list #foo #bar] {{#foo} #bar} {comment hash}

# hairy one that catches us on subst.test
is [list "\x\$x\[foo bar]\\"] {x\$x\[foo\ bar\]\\} {trailing backslash}
is [list "\x\$x\[foo bar]\\"] {x\$x\[foo\ bar\]\\} {trailing backslash} {TODO NQPRX}

# from list.test
is [list {"}] {{"}} {single quote}
is [list "{ab}xy"] "{{ab}xy}" {braces that don't wrap exactly}
is [list "{ab}\\"] "\\{ab\\}\\\\" {braces that don't wrap exactly, trailing backslash}
is [list \{\r] "\\\{\\r" {use standard \foo escapes when stringifying a list}
is [list \{"] {\{\"} {escape quotes}
is [list \{"] {\{\"} {escape quotes} {TODO NQP}
# vim: filetype=tcl:

0 comments on commit 2393e1a

Please sign in to comment.