Skip to content

Commit

Permalink
CPAN Release 0.82
Browse files Browse the repository at this point in the history
- Eliminate spurious trailing whitespace
  • Loading branch information
ingydotnet committed Aug 16, 2014
1 parent da9d945 commit 3d357be
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 44 deletions.
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
version: 0.82
date: Sat Aug 16 04:14:25 PDT 2014
changes:
- Eliminate spurious trailing whitespace
---
version: 0.81
date: Sat Aug 16 02:52:12 PDT 2014
changes:
Expand Down
2 changes: 1 addition & 1 deletion Meta
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=meta: 0.0.1

name: Test-Base
version: 0.81
version: 0.82
abstract: A Data Driven Testing Framework
homepage: https://metacpan.org/release/Test-Base

Expand Down
2 changes: 1 addition & 1 deletion lib/Module/Install/TestBase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Module::Install::Base;

use vars qw($VERSION @ISA);
BEGIN {
$VERSION = '0.81';
$VERSION = '0.82';
@ISA = 'Module::Install::Base';
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Base.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package Test::Base;
our $VERSION = '0.81';
our $VERSION = '0.82';

use Spiffy -Base;
use Spiffy ':XXX';
Expand Down
2 changes: 1 addition & 1 deletion test/TestBass.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Test::Base -Base;

our @EXPORT = qw(run_like_hell);

sub run_like_hell() {
sub run_like_hell() {
(my ($self), @_) = find_my_self(@_);
$self->run_like(@_);
}
Expand Down
12 changes: 6 additions & 6 deletions test/arguments.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ sub Test::Base::Filter::something {
my $self = shift;
my $value = shift;
my $arguments = $self->current_arguments;
is $value,
"candle\n",
is $value,
"candle\n",
'value is ok';
is $arguments,
"wicked",
is $arguments,
"wicked",
'arguments is ok';
is $Test::Base::Filter::arguments,
"wicked",
is $Test::Base::Filter::arguments,
"wicked",
'$arguments global variable is ok';
}

Expand Down
2 changes: 1 addition & 1 deletion test/blocks-scalar.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for (1..blocks) {
ok 1, 'Jusk checking my blocking';
}

is scalar(blocks), 2,
is scalar(blocks), 2,
'correct number of blocks';

sub this_filter_fails {
Expand Down
2 changes: 1 addition & 1 deletion test/compact.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ there is foo
TOO HIGH TO DIE
=== Can have no value
--- (this):
--- (this):
--- (that)
=== Can have ': ' in value
Expand Down
4 changes: 2 additions & 2 deletions test/diff_is.t
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ two
three
XXX
one
two
two
three
YYY

Expand All @@ -101,7 +101,7 @@ not ok 1 - diff with space
# in /tmp/test-blocks-321 at line 3.
# @@ -1,3 +1,3 @@
# one
# -two
# -two
# +two
# three
# Looks like you failed 1 test of 1.
Expand Down
2 changes: 1 addition & 1 deletion test/embed_perl.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sub reverse { join '', reverse split '', shift }

__DATA__
<<< delimiters '+++', '***';
<<< delimiters '+++', '***';
filters 'chomp';
>>>
Expand Down
2 changes: 1 addition & 1 deletion test/escape.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use Test::Base tests => 2;

is next_block->escaped,
is next_block->escaped,
"line1\nline2";
is next_block->escaped,
" foo\n bar\n";
Expand Down
2 changes: 1 addition & 1 deletion test/filter_arguments.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ __DATA__
===
--- xxx foo=123,456
===
===
--- xxx bar=---holy-crow+++
one
two
6 changes: 3 additions & 3 deletions test/filters-append.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ is next_block->text, "this,foo,that,bar";
# 2nd test is needed
is next_block->text, "this,foo,that,bar";

sub foo { $_[0] . ",foo" }
sub bar { $_[0] . ",bar" }
sub that { $_[0] . ",that" }
sub foo { $_[0] . ",foo" }
sub bar { $_[0] . ",bar" }
sub that { $_[0] . ",that" }

__DATA__
===
Expand Down
18 changes: 9 additions & 9 deletions test/internals.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ use Test::More;
sub foo {
my $self = shift;
my $value = shift;

# Test access to Test::Base::Filter object.
ok ref($self),
ok ref($self),
'$self is an object';
is ref($self),
'Test::Base::Filter',
is ref($self),
'Test::Base::Filter',
'$self is a Test:Base::Filter object';
like $value,
qr/^This is some .*text.\z/,
'Filter value is correct';
'Filter value is correct';

# Test access to Test::Base::Block object.
my $block = $self->current_block;
is ref($block),
'Test::Base::Block',
is ref($block),
'Test::Base::Block',
'Have a reference to our block object';

ok not($block->is_filtered),
Expand Down Expand Up @@ -63,11 +63,11 @@ sub foo {
# Test access to Test::Base object.
my $blocks = $block->blocks_object;
my $block_list = $blocks->block_list;
is ref($block_list),
is ref($block_list),
'ARRAY',
'Have an array of all blocks';

is scalar(@$block_list),
is scalar(@$block_list),
'2',
'Is there 2 blocks?';

Expand Down
4 changes: 2 additions & 2 deletions test/last.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use Test::Base tests => 4;

is scalar(blocks), 3,
is scalar(blocks), 3,
'Does LAST limit tests to 3?';

run {
Expand All @@ -14,7 +14,7 @@ __DATA__
===
--- test: all work and no play
===
===
--- LAST
--- test: all work and no play
Expand Down
2 changes: 1 addition & 1 deletion test/lines.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use Test::Base tests => 6;

my @lines1 = [blocks]->[0]->text1;
ok @lines1 == 3;
is_deeply
is_deeply
\@lines1,
[
"One\n",
Expand Down
10 changes: 5 additions & 5 deletions test/list.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ use Test::Base tests => 5;

my $block1 = [blocks]->[0];
my @values = $block1->grocery;
is scalar(@values), 3,
is scalar(@values), 3,
'check list context';
is_deeply \@values, ['apples', 'oranges', 'beef jerky'],
is_deeply \@values, ['apples', 'oranges', 'beef jerky'],
'list context content';

my $block2 = [blocks]->[1];
is_deeply $block2->todo,
is_deeply $block2->todo,
[
'Fix YAML',
'Fix Inline',
'Fix YAML',
'Fix Inline',
'Fix Test::Base',
], 'deep block from index';

Expand Down
4 changes: 2 additions & 2 deletions test/parentheses.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ __DATA__
--- foo)
some text
===
===
--- (foo): some text
===
===
--- (foo) split join: some text
2 changes: 1 addition & 1 deletion test/reserved_names.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for my $word (qw(
)) {
my $blocks = my_blocks($word);
eval {$blocks->blocks};
like $@, qr{'$word' is a reserved name},
like $@, qr{'$word' is a reserved name},
"$word is a bad name";
}

Expand Down
4 changes: 2 additions & 2 deletions test/reverse-deep.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ __DATA__
[qw(a b c)],
[qw(d e f)],
[qw(g h i j)]
],
],
[
[qw(a b c)],
[qw(d e f)],
[qw(g h i j)]
],
],
--- yyy) eval
[
Expand Down
2 changes: 1 addition & 1 deletion test/simple.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for my $block (blocks) {
is(
uc($block->pod),
$block->upper,
$block->name,
$block->name,
);
}

Expand Down
2 changes: 1 addition & 1 deletion test/split.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The other tests don't work yet.
===
--- ok lines split
I am
I am
ok. Are you
ok?
Expand Down

0 comments on commit 3d357be

Please sign in to comment.