[augeas-devel] augeas: master - * tests/xpath.tests: Hosts lens puts comments into #comment nodes

David Lutterkort lutter at fedoraproject.org
Mon Mar 9 04:51:30 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=0f5877a25e15ab1586405fe2aea1c9524df45ea4
Commit:        0f5877a25e15ab1586405fe2aea1c9524df45ea4
Parent:        fafeb518978f9c04f44d13dd85bc00c920aff8d4
Author:        David Lutterkort <lutter at redhat.com>
AuthorDate:    Sun Mar 8 21:48:27 2009 -0700
Committer:     David Lutterkort <lutter at redhat.com>
CommitterDate: Sun Mar 8 21:48:27 2009 -0700

* tests/xpath.tests: Hosts lens puts comments into #comment nodes

---
 tests/xpath.tests |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/xpath.tests b/tests/xpath.tests
index 02f13a2..4631f01 100644
--- a/tests/xpath.tests
+++ b/tests/xpath.tests
@@ -169,6 +169,6 @@ test path-with-dot /files/etc/.notthere
 test str-neq /files/etc/*['foo' != 'foo']
 
 # label() returns the label of the context node as a string
-test label-neq /files/etc/hosts/*[label() != 'comment']
+test label-neq /files/etc/hosts/*[label() != '#comment']
      /files/etc/hosts/1
      /files/etc/hosts/2




More information about the augeas-devel mailing list