From 000c0345bd5450cd7d12fbadb5859620bf5d38c4 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 5 Jul 2016 23:18:47 -0400 Subject: [PATCH] Add graph:make-from-deps convenience function * src/graph.xsl (graph:make-from-deps): Added with documentation. * test/graph{-test.xsl,.xspec}: Updated accordingly. --- src/graph.xsl | 34 ++++++++++++++++++++++++++++++++++ test/graph-test.xsl | 22 ++++++++++++++++++++++ test/graph.xspec | 27 +++++++++++++++++++++------ 3 files changed, 77 insertions(+), 6 deletions(-) diff --git a/src/graph.xsl b/src/graph.xsl index 7351cd76..28752345 100644 --- a/src/graph.xsl +++ b/src/graph.xsl @@ -245,4 +245,38 @@ ()" /> + + + + + + + + + + diff --git a/test/graph-test.xsl b/test/graph-test.xsl index eaa654da..416f8fb5 100644 --- a/test/graph-test.xsl +++ b/test/graph-test.xsl @@ -194,6 +194,18 @@ + + + + + + + + + + + + @@ -206,4 +218,14 @@ + + + + + + + + + + diff --git a/test/graph.xspec b/test/graph.xspec index 2b44b44a..d7fdb9ad 100644 --- a/test/graph.xspec +++ b/test/graph.xspec @@ -174,7 +174,7 @@ - + @@ -248,10 +248,6 @@ - - - - + test="deep-equal( $x:result/*, $foo:expected-lookup )" /> + + + + + + + + + + + + +