Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: d0eb5328c1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (14 sloc) 0.507 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 3
eval_is {format} \
{wrong # args: should be "format formatString ?arg arg ...?"} \
{format no args}
is [format "%05d" 12] 00012 {zero padding}
is [format "%-*s - %s" 10 foo bar] {foo - bar} {format width check}
Jump to Line
Something went wrong with that request. Please try again.