in reply to Re: Testing Zork-style game
in thread Testing Zork-style game
Except that you'd want to write
asok( $out eq $expected );
If the strings are really long and hard to read through, look at Test::LongString.is( $out, $expected );
xoxo,
Andy
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Testing Zork-style game
by adrianh (Chancellor) on Jun 29, 2004 at 22:36 UTC |
In Section
Seekers of Perl Wisdom