2 # Copyright (C) 2005-2007, The Perl Foundation.
7 use lib qw( . lib ../lib ../../lib );
10 use Parrot::Test tests => 1;
15 t/examples/namespace.t - Test examples in F<examples/namespace>
19 % prove t/examples/namespace.t
23 Test the examples in F<examples/namespace>.
31 Bernhard Schmalhofer - <Bernhard.Schmalhofer@gmx.de>
35 # Set up expected output for examples
37 # cannot test the exact result, just adding one method somewhere
38 # changes all. Also namespaces are hashes. While we preserve
39 # insert order, we do not gurantee any specific order.
40 # test the name of the 2 toplevel names, parrot is using
42 'namespace_dump.pir' => << 'END_EXPECTED',
48 while ( my ( $example, $expected ) = each %expected ) {
49 example_output_like( "examples/namespace/$example", $expected );
54 # cperl-indent-level: 4
57 # vim: expandtab shiftwidth=4: