Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust # tests because throws_like is now just 1
  • Loading branch information
lizmat committed May 15, 2014
1 parent 8ebd17f commit ab5d8ac
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion S02-names-vars/varnames.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 20;
plan 12;

# L<S02/Names and Variables/special variables of Perl 5 are going away>

Expand Down
2 changes: 1 addition & 1 deletion S02-types/array.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 99;
plan 93;

#L<S02/Mutable types/Array>

Expand Down
2 changes: 1 addition & 1 deletion S03-operators/range-basic.t
Expand Up @@ -4,7 +4,7 @@ use Test;
use lib 't/spec/packages';
use Test::Util;

plan 144;
plan 140;

{
my $range = 2..6;
Expand Down
2 changes: 1 addition & 1 deletion S04-statements/repeat.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 21;
plan 19;

# L<S04/The C<repeat> statement/"more Pascal-like repeat loop">

Expand Down
2 changes: 1 addition & 1 deletion S05-metasyntax/unknown.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 13;
plan 11;

# L<S05/Simplified lexical parsing of patterns/not all non-identifier glyphs are currently meaningful as metasyntax>

Expand Down
2 changes: 1 addition & 1 deletion S05-substitution/subst.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 141;
plan 140;

# L<S05/Substitution/>

Expand Down
3 changes: 1 addition & 2 deletions S06-macros/unquoting.t
Expand Up @@ -4,7 +4,7 @@ use lib 't/spec/packages';
use Test::Util;

use Test;
plan 10;
plan 5;

# editorial note:
# macros in this file have been named after 20th-century physicists.
Expand Down Expand Up @@ -67,7 +67,6 @@ plan 10;
}

{ # unquotes must evaluate to ASTs
#?does 5
throws_like 'macro bohm() { quasi { {{{"not an AST"}}} } }; bohm',
X::TypeCheck::Splice,
got => Str,
Expand Down
2 changes: 1 addition & 1 deletion S11-modules/import-multi.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib 't/spec/packages';
use Test::Util;

plan 19;
plan 17;

# L<S11/Importing without loading>

Expand Down
2 changes: 1 addition & 1 deletion S11-modules/import.t
Expand Up @@ -2,7 +2,7 @@ use v6;
use Test;
use lib 't/spec/packages';
use Test::Util;
plan 22;
plan 16;

# L<S11/Importing without loading>

Expand Down
2 changes: 1 addition & 1 deletion S12-introspection/meta-class.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 13;
plan 12;

=begin pod
Expand Down
2 changes: 1 addition & 1 deletion S12-methods/private.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib 't/spec/packages';
use Test::Util;

plan 16;
plan 12;

# L<S12/Private methods/"Private methods are declared using">

Expand Down
2 changes: 1 addition & 1 deletion S17-supply/migrate.t
Expand Up @@ -4,7 +4,7 @@ use lib 't/spec/packages';
use Test;
use Test::Util;

plan 25;
plan 23;

#?rakudo.jvm todo "D: doesn't work in signatures"
dies_ok { Supply.migrate }, 'can not be called as a class method';
Expand Down
3 changes: 1 addition & 2 deletions S32-array/create.t
@@ -1,5 +1,6 @@
use v6;
use Test;
plan 6;

# L<S32::Containers/"Array"/"=item ">

Expand All @@ -9,8 +10,6 @@ built-in "Array" tests
=end pod

plan 8;

my $array_obj = Array.new(4, 5, 6);
is($array_obj.WHAT.gist, Array.gist, 'Creating a new list object with new works.');
is($array_obj, list(4, 5, 6), 'The list object contains the right values.');
Expand Down
2 changes: 1 addition & 1 deletion S32-num/rand.t
Expand Up @@ -4,7 +4,7 @@ use Test;
use lib 't/spec/packages';
use Test::Util;

plan 115;
plan 113;

=begin pod
Expand Down

0 comments on commit ab5d8ac

Please sign in to comment.