]> www.average.org Git - pdns-pipe-nmc.git/blobdiff - test.hs
better normalization
[pdns-pipe-nmc.git] / test.hs
diff --git a/test.hs b/test.hs
index eb3bfb9c4b8208efa7fe3205d0772fa3aef02ea8..1f19426c139401552e0b9f066df0f9c1382376dd 100644 (file)
--- a/test.hs
+++ b/test.hs
@@ -15,6 +15,6 @@ queryOp key = catch (readFile key >>= return . Right)
                     (\e -> return (Left (show (e :: IOException))))
 
 main = do
                     (\e -> return (Left (show (e :: IOException))))
 
 main = do
-        d <- mergeImport queryOp (emptyNmcDom {domImport = Just "d/root"})
+        d <- descendNmcDom queryOp [] $ seedNmcDom "root"
         putStrLn $ show d
 
         putStrLn $ show d