Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-12 12:01:32 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-12 12:07:25 -0400
commitc97af5e6769b4b75a750a677c6217c180e293b80 (patch)
tree8514d1fa8502f4a9e697240cee92659ef8030661
parentbc1b66a3beb48a177715f7948ec91082d1beaf44 (diff)
downloadtame-c97af5e6769b4b75a750a677c6217c180e293b80.tar.gz
tame-c97af5e6769b4b75a750a677c6217c180e293b80.tar.bz2
tame-c97af5e6769b4b75a750a677c6217c180e293b80.zip
Correct failing test cases
Shame on me! * test/graph-test.xsl (foo:graph-vtwo-vthree): Swap `a' and `c' nodes. This ordering seems to have changed after a Saxon upgrade, and this ordering makes much more sense. * test/symtable/symbols.xspec: Add missing `@default' and `@pollute'. Remove extra `@keep'. All keeps should be gone by now, but it looks like I missed some; that will be handled in a separate commit.
-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>