Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/graph-test.xsl2
-rw-r--r--test/symtable/symbols.xspec9
2 files changed, 8 insertions, 3 deletions
diff --git a/test/graph-test.xsl b/test/graph-test.xsl
index f5ff01b..b1f331e 100644
--- a/test/graph-test.xsl
+++ b/test/graph-test.xsl
@@ -152,9 +152,9 @@
<variable name="foo:graph-vtwo-vthree" as="element( preproc:sym-deps )">
<preproc:sym-deps>
<preproc:sym-dep name="a">
+ <preproc:sym-ref name="a" attr1="foo" />
<preproc:sym-ref name="b" attr1="foo" attr2="bar" />
<preproc:sym-ref name="c" />
- <preproc:sym-ref name="a" attr1="foo" />
</preproc:sym-dep>
<preproc:sym-dep name="b">
diff --git a/test/symtable/symbols.xspec b/test/symtable/symbols.xspec
index 18d9c2c..c8b8ba0 100644
--- a/test/symtable/symbols.xspec
+++ b/test/symtable/symbols.xspec
@@ -63,6 +63,7 @@
dim="1"
desc="Vector param"
dtype="footype"
+ default=""
tex=""
keep="true" />
@@ -71,6 +72,7 @@
dim="2"
desc="Matrix param with TeX"
dtype="tex"
+ default=""
tex="\tex"
keep="true" />
@@ -79,6 +81,7 @@
dim="0"
desc="Scalar param (implicit)"
dtype="bar"
+ default=""
tex=""
keep="true" />
@@ -87,6 +90,7 @@
dim="0"
desc="Scalar param (explicit)"
dtype="bar"
+ default=""
tex=""
keep="true" />
@@ -95,6 +99,7 @@
dim="-1"
desc="Unknown dimension"
dtype="wtf"
+ default=""
tex=""
keep="true" />
</expect>
@@ -134,11 +139,11 @@
<preproc:sym type="meta"
name=":meta:prop1"
desc="Metavalue prop1"
- keep="true" />
+ pollute="true" />
<preproc:sym type="meta"
name=":meta:prop2"
desc="Metavalue prop2"
- keep="true" />
+ pollute="true" />
</expect>
</scenario>
</description>