Skip to content

Commit 85eedec

Browse files
committed
Fix test suite so it doesn't try to {{{use_ok()}}} before issuing a test plan.
1 parent 6047981 commit 85eedec

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Revision history for Perl extension JavaScript::Minifier::XS.
22

3+
0.01_04 Wed Oct 17 15:56 PDT 2007
4+
- fix t/02-minify.t, so it doesn't try to "use_ok()" before issuing a test
5+
plan
6+
37
0.01_03 Tue Oct 16 19:47 PDT 2007
48
- don't use "strndup()"; not available on all systems
59
- we require Perl 5.006; update Build.PL and XS.pm to denote this

META.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: JavaScript-Minifier-XS
3-
version: 0.01_03
3+
version: 0.01_04
44
author:
55
- Graham TerMarsch (cpan@howlingfrog.com)
66
abstract: XS based JavaScript minifier
@@ -14,7 +14,7 @@ build_requires:
1414
provides:
1515
JavaScript::Minifier::XS:
1616
file: lib/JavaScript/Minifier/XS.pm
17-
version: 0.01_03
17+
version: 0.01_04
1818
generated_by: Module::Build version 0.2805
1919
meta-spec:
2020
url: http://module-build.sourceforge.net/META-spec-v1.2.html

lib/JavaScript/Minifier/XS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require DynaLoader;
99
our @ISA = qw(Exporter DynaLoader);
1010
our @EXPORT_OK = qw(minify);
1111

12-
our $VERSION = '0.01_03';
12+
our $VERSION = '0.01_04';
1313

1414
bootstrap JavaScript::Minifier::XS $VERSION;
1515

t/02-minify.t

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ use strict;
22
use warnings;
33
use IO::File;
44
use Test::More;
5-
BEGIN {
6-
use_ok('JavaScript::Minifier::XS', qw(minify));
7-
};
5+
use JavaScript::Minifier::XS qw(minify);
86

97
###############################################################################
108
# figure out how many JS files we're going to run through for testing

0 commit comments

Comments
 (0)