tagged release 0.6.4
[parrot.git] / languages / tcl / t / cmd_after.t
blob9093f759f1fe05bb6d9435f32dda260401055580
1 #!perl
3 # Copyright (C) 2006, The Perl Foundation.
4 # $Id$
6 # the following lines re-execute this as a tcl script
7 # the \ at the end of these lines makes them a comment in tcl \
8 use lib qw(languages/tcl/lib tcl/lib lib ../lib ../../lib); # \
9 use Tcl::Test; #\
10 __DATA__
12 source lib/test_more.tcl
13 plan 2
15 eval_is {after} \
16   {wrong # args: should be "after option ?arg arg ...?"} \
17   {after - no args}
19 is [after 10; expr 1] 1 {after - simple delay}