Author: kjs
Date: Wed Dec 17 03:08:38 2008
New Revision: 34016
Modified:
trunk/t/oo/new.t
Log:
[t] Remove a test that checks for not-allowing slice syntax in namespaces.
The test checks that [a,b] will emit the proper error message. As the [a,b]
syntax is deprecated and will be removed shortly, the test is no longer
necessary.
Modified: trunk/t/oo/new.t
==============================================================================
--- trunk/t/oo/new.t (original)
+++ trunk/t/oo/new.t Wed Dec 17 03:08:38 2008
@@ -6,7 +6,7 @@
use warnings;
use lib qw( . lib ../lib ../../lib );
use Test::More;
-use Parrot::Test tests => 24;
+use Parrot::Test tests => 23;
=head1 NAME
@@ -626,17 +626,6 @@
Class isn't defined.
OUT
-pir_error_output_like( <<'CODE', <<'OUT', 'Cannot instantiate class from slice
key' );
-.sub 'main' :main
- $P0 = new 'String'
- $P0 = "something bad happened"
- $P1 = new ['parrot','exception'], $P0 # note the comma
- throw $P1
-.end
-CODE
-/Slice not allowed in namespace/
-OUT
-
pir_error_output_like(<<'CODE', <<'OUT', 'Instantiate class from invalid key');
.sub 'main' :main
$P0 = new [ 'Foo'; 'Bar'; 'Baz' ]