Skip to content

Commit cf26498

Browse files
author
Carlos Fernando Avila Gratz
committed
Undeclared dependency on Test::Exception (GH#1, reported by andk)
1 parent e2af5ae commit cf26498

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ Revision history for Perl extension XML::LibXML::jQuery
22

33
{{$NEXT}}
44

5+
[ BUG FIXES ]
6+
- Undeclared dependency on Test::Exception (GH#1, reported by andk)
7+
58
0.04 2016-07-08T13:20:18Z
69

710
[COMPATIBILITY FIX]

META.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
},
5151
"test" : {
5252
"requires" : {
53+
"Test::Exception" : "0",
5354
"Test::More" : "0.98"
5455
}
5556
}

cpanfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ requires 'perl', '5.008001';
22

33
on 'test' => sub {
44
requires 'Test::More', '0.98';
5+
requires 'Test::Exception';
56
};
67

78

lib/XML/LibXML/jQuery.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ sub new {
100100
# my $doc_id = $existing_document->unique_key;
101101
$existing_document->adoptNode($_)
102102
for grep { not $existing_document->isSameNode($_->ownerDocument) }
103-
grep { $_->nodeType != XML_DOCUMENT_NODE }
104-
@$nodes;
103+
grep { $_->nodeType != XML_DOCUMENT_NODE }
104+
@$nodes;
105105
}
106106
}
107107

0 commit comments

Comments
 (0)