Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

patch for die-in-setup.t on Windows #3

Merged
merged 3 commits into from

3 participants

@chorny

No description provided.

@semuel

Alexander - I came here to post the same patch. beat me in a few hours... :-)

@Ovid Ovid merged commit 171f294 into adrianh:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 16, 2012
  1. @chorny
  2. @chorny
Commits on Nov 14, 2012
  1. @chorny

    typo (RT#70334)

    chorny authored
This page is out of date. Refresh to see the latest.
View
1  .gitignore
@@ -1,4 +1,5 @@
Build
+Build.bat
MANIFEST
META.yml
MYMETA.yml
View
2  Changes
@@ -1,5 +1,7 @@
Changes for Perl extension Test-Class
+ - die-in-setup.t will work on Windows
+
0.37 - or the "amazingly late QA Hackathon 2011" release [2012-06-25]
- Fixed RT#64470: minor documentation error in Test::Class::Load (thanks
to Andrew Grangaard for patch)
View
2  MANIFEST.SKIP
@@ -4,6 +4,7 @@
^blib/
^blibdirs$
^Build$
+Build.bat
^examples
^Makefile$
^MANIFEST.SKIP$
@@ -18,3 +19,4 @@ Makefile.old
Makefile$
^cover_db
^MYMETA.yml$
+^MYMETA\.json$
View
2  lib/Test/Class/Load.pm
@@ -161,7 +161,7 @@ For example:
my ( $class, $file, $dir ) = @_;
# return unless it's a .pm (the default)
- return unless $class->SUPER:is_test_class( $file, $dir );
+ return unless $class->SUPER::is_test_class( $file, $dir );
# and only allow .pm files with "Good" in their filename
return $file =~ m{Good};
View
2  t/die-in-setup.t
@@ -21,7 +21,7 @@ use Test::Builder::Tester tests => 1;
$ENV{TEST_VERBOSE}=0;
test_out( "not ok 1 - setup_method (for test method 'test') died (oops - we died)" );
test_err( "# Failed test 'setup_method (for test method 'test') died (oops - we died)'" );
-test_err( "# at t/die-in-setup.t line 27." );
+test_err( "# at $0 line 27." );
test_err( "# (in Foo->setup_method)" );
test_out("ok 2 # skip setup_method died");
Test::Class->runtests;
Something went wrong with that request. Please try again.