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.
master
Mike Gerwitz 2018-09-12 12:01:32 -04:00
parent bc1b66a3be
commit c97af5e676
2 changed files with 8 additions and 3 deletions

View File

@ -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">

View File

@ -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>