Skip to content

Commit

Permalink
Merge pull request #6 from bor/fix/README
Browse files Browse the repository at this point in the history
update README to be correct
  • Loading branch information
joemcmahon committed Jan 26, 2013
2 parents 92472b2 + 4471a61 commit 1ac1399
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Test::XML::Simple version 1.00
Test::XML::Simple
============================

Test::SML::Simple provides a test class which makes it easy to do basic
Test::Builder-style tests on XML input.
This module provides a test class which makes it easy to do basic
Test::More style tests on XML input.

use Test::XML::Simple test=>4;
is_valid $xml, "Is valid XML";
use Test::XML::Simple test => 5;
xml_valid $xml, 'Is valid XML';
xml_node $xml, "/xpath/expression", "specified xpath node is present";
xml_text_is $xml, '/xpath/expr', "expected value", "specified text present";
xml_text_like $xml, '/xpath/expr', qr/expected/, "regex text present";
Expand All @@ -25,12 +25,13 @@ DEPENDENCIES
This module requires these other modules and libraries:

Test::Builder
Test::LongString
Test::More
XML::XPath
XML::LibXML

COPYRIGHT AND LICENCE

Copyright (C) 2005 by Yahoo!
Copyright (C) 2005 by Yahoo! and Joe McMahon

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.6.1 or,
Expand Down

0 comments on commit 1ac1399

Please sign in to comment.