summaryrefslogtreecommitdiff
blob: 37e1b6bf0fbd141696d3b11119541a28ccb04bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/Changes b/Changes
index c3218f2..3c80274 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Changelog for WWW::Mechanize::TreeBuilder
 
+  - Fix for rt: 57723: Tests failing on Test-Simple 0.96 ( Kent Fredric )
+
 1.10002 - 2010 Apr 13
   - Update example to work properly
 
diff --git a/t/03-xpath.t b/t/03-xpath.t
index 45116be..7f5b4f1 100644
--- a/t/03-xpath.t
+++ b/t/03-xpath.t
@@ -19,7 +19,7 @@ use_ok 'MockMechanize';
 my $mech = MockMechanize->new;
 
 WWW::Mechanize::TreeBuilder->meta->apply(
-  $mech, 
+  $mech,
   tree_class => 'HTML::TreeBuilder::XPath'
 );
 
@@ -29,4 +29,4 @@ $mech->get_ok('/', 'Request ok');
 # Check we can use normal TWMC methods
 $mech->content_contains('A para');
 
-is( $mech->find_xpath('//h1'), 'It works', 'find_xpath works');
+is( $mech->find_xpath('//h1')->string_value, 'It works', 'find_xpath works');