aboutsummaryrefslogtreecommitdiff
path: root/tests/resolve.test
AgeCommit message (Collapse)Author
2009-05-26resolve: Add new test.Ludovic Courtès
* tests/resolve.test ("unresolved node in nested document"): New test.
2009-05-26Make sure to bind nodes that are in the body of non-markup nodes.Ludovic Courtès
* src/guile/skribilo/ast.scm (document-bind-nodes!): Traverse other nodes as well, such as processors. * src/guile/skribilo/resolve.scm (do-resolve!<unresolved>>): Likewise. * tests/resolve.test ("resolved nested document bindings"): New test.
2009-05-26Fix typo in `resolve.test'.Ludovic Courtès
* tests/resolve.test ("unresolved node in processor body"): Fix typo.
2009-05-26Fix node binding in sub-documents returned from unresolved nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Bind sub-nodes of RES in the innermost document rather than in the root document. * tests/resolve.test ("resolved nested document bindings"): New test.
2009-05-26resolve: Clarify node bindings in nested documents.Ludovic Courtès
* src/guile/skribilo/ast.scm (document-bind-nodes!): Bind nodes in the innermost document, which may or may not be the root document. * tests/resolve.test ("root document has no parent", "nested document has a parent", "nested document is its own `ast-document'", "nested document bindings"): New tests.
2009-05-25Add `resolve' unit tests.Ludovic Courtès
* tests/Makefile.am (TESTS): Add `resolve.test'. (CLEANFILES): Add `resolve.log'.