Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[t/spec] add 'use MONKEY_TYPING' where appropriate

git-svn-id: http://svn.pugscode.org/pugs@30057 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit db4bde7975c7b1a42e5ff5f6d37a9e5af7f30834 1 parent ca5e8b0
lwall authored
View
2  S02-builtin_data_types/lists.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
# L<S02/Lists>
View
2  S02-whitespace_and_comments/unspace.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 75;
View
2  S04-statements/for.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
=begin description
View
2  S05-match/capturing-contexts.t
@@ -1,4 +1,6 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
BEGIN { @*INC.push('t/spec/packages/') };
use Test::Util;
View
2  S05-syntactic-categories/new-symbols.t
@@ -1,4 +1,6 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 8;
View
1  S06-advanced_subroutine_features/stub.t
@@ -30,6 +30,7 @@ eval_dies_ok('sub foo;', 'old Perl 5 "sub foo;" syntax is dead');
}
{
+ use MONKEY_TYPING;
sub hail {26}
# Maybe should be warns_ok
eval_dies_ok('sub hail {10}', 'redefining existing subroutine dies');
View
2  S10-packages/use-with-class.t
@@ -1,4 +1,6 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
# L<S11/Compile-time Importation>
View
5 S12-attributes/augment-and-initialization.t
@@ -1,5 +1,7 @@
use v6;
+
+
use Test;
@@ -14,10 +16,11 @@ diag('Test for class attribute initialization');
{
class T1 { }
class T2 { }
- eval_lives_ok 'augment class T1 { has $.t = 1 }; 1',
+ eval_lives_ok 'use MONKEY_TYPING; augment class T1 { has $.t = 1 }; 1',
"Try to initialize public attribute";
eval_lives_ok q'
+ use MONKEY_TYPING;
augment class T2 {
has $!t = 2;
method get { $!t };
View
2  S12-class/extending-arrays.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 11;
View
2  S12-class/open.t
@@ -1,4 +1,6 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 10;
View
2  S12-class/open_closed.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 9;
View
2  S12-enums/thorough.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan *;
View
2  integration/rule-in-class-Str.t
@@ -1,5 +1,7 @@
use v6;
+use MONKEY_TYPING;
+
use Test;
plan 3;
Please sign in to comment.
Something went wrong with that request. Please try again.