Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-10 14:04:21 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-13 15:13:41 -0400
commit0abb7104b1c2a6844d23951e9cb3c5e106cf8e1a (patch)
tree12693b1c60a6951357df9897a40af68ad77fdf1a
parent607abd281d60bc088d9c202b028367737d26e1fc (diff)
downloadtame-0abb7104b1c2a6844d23951e9cb3c5e106cf8e1a.tar.gz
tame-0abb7104b1c2a6844d23951e9cb3c5e106cf8e1a.tar.bz2
tame-0abb7104b1c2a6844d23951e9cb3c5e106cf8e1a.zip
assert: _assert_/@neg{_=>-}* template params
* assert.xml (_assert_)[@neg-as@, @neg-yields@]: Rename from `@neg_as@' and `@neg_yields' respectively. This renames these params to be consistent with modern standards. We want to do this before they're actually in use.
-rw-r--r--core/assert.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/assert.xml b/core/assert.xml
index 726ee7d..a12a4e7 100644
--- a/core/assert.xml
+++ b/core/assert.xml
@@ -72,18 +72,18 @@
matches (optional)" />
- <param name="@neg_as@"
+ <param name="@neg-as@"
desc="Generated name for classification to be negated">
<text unique="true">-nassert-</text>
</param>
- <param name="@neg_yields@"
+ <param name="@neg-yields@"
desc="Generated yield for classification to be negated">
<text unique="true">_nassert</text>
</param>
<!-- The actual assertion will be performed by one classification... -->
- <classify as="@neg_as@" yields="@neg_yields@"
+ <classify as="@neg-as@" yields="@neg-yields@"
desc="{@failure@} (assertion result)">
<any>
<!-- if class is provided and does not match, then the assertion
@@ -104,7 +104,7 @@
<classify as="@as@" desc="@failure@" terminate="true">
<match on="assert_ignore" value="FALSE" />
- <match on="@neg_yields@" value="FALSE" />
+ <match on="@neg-yields@" value="FALSE" />
</classify>
</template>
</package>