#!perl
# Copyright (C) 2006, The Perl Foundation.
# $Id: cmd_pwd.t 21247 2007-09-13 06:31:01Z paultcochrane $
use strict;
use warnings;
use lib qw(tcl/lib ./lib ../lib ../../lib ../../../lib);
use Parrot::Test tests => 2;
use Test::More;
language_output_is( "tcl", <<'TCL', <<OUT, "pwd too many args" );
pwd fish
TCL
wrong # args: should be "pwd"
OUT
use Cwd;
my $dir = getcwd;
language_output_is( "tcl", <<'TCL', <<"OUT", "pwd simple" );
puts [pwd]
TCL
$dir
OUT
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4:
syntax highlighted by Code2HTML, v. 0.9.1