Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 5561d4df28
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (18 sloc) 0.696 kB
# Copyright (C) 2004-2006, The Parrot Foundation.
# the following lines re-execute this as a tcl script
# the \ at the end of these lines makes them a comment in tcl \
use lib qw(lib); # \
use Tcl::Test; #\
source lib/test_more.tcl
plan 7
eval_is {join} {wrong # args: should be "join list ?joinString?"} \
{too few args}
eval_is {join 1 2 3} {wrong # args: should be "join list ?joinString?"} \
{too many args}
is [join [list]] {} {join nothing}
is [join [list a]] {a} {join one}
is [join [list a b c]] {a b c} {join few}
is [join [list a b c] X] {aXbXc} {join with string}
is [join [list a b c] XXXX] {aXXXXbXXXXc} {join with long string}
Jump to Line
Something went wrong with that request. Please try again.