April 26, 2007 Component-Focused Testing Back

pmc2c.pl: How Did Things Go?

        $self = Parrot::Pmc2c::Utils->new( {
            include => \@include,
            opt     => \%opt,
            args    => \@args,
        } );
        eval {
          $self = Parrot::Pmc2c::Utils->new( {
              opt     => \%opt,
              args    => [ @args ],
          } );
        };
        like($@,
            qr/Must have key 'include': ref to array of directories/,
            "Constructor correctly failed due to lack of 'include' key");


Home Last TOC Copyright © 2007 James E Keenan Back Next