Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-11 11:23:52 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-11 09:30:52 -0400
commit3f1bfc0de2c0f55841a5d2dc539893453c85911a (patch)
treefa75afb4196bf30ac7d25d636b623cd47afa80b6
parentc7ded1d9570b77d655b32286da9c4e819a561062 (diff)
downloadtame-3f1bfc0de2c0f55841a5d2dc539893453c85911a.tar.gz
tame-3f1bfc0de2c0f55841a5d2dc539893453c85911a.tar.bz2
tame-3f1bfc0de2c0f55841a5d2dc539893453c85911a.zip
assert: @desc@=>@failure@
Param makes more sense.
-rw-r--r--core/assert.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/assert.xml b/core/assert.xml
index b5e134d..a2b23ac 100644
--- a/core/assert.xml
+++ b/core/assert.xml
@@ -56,7 +56,7 @@
<text unique="true">-assert-</text>
</param>
- <param name="@desc@" desc="Description">
+ <param name="@failure@" desc="Failure description">
<text>Assertion</text>
</param>
@@ -73,7 +73,7 @@
<!-- The actual assertion will be performed by one classification... -->
<classify as="@neg_as@" yields="@neg_yields@"
- desc="{@desc@} (assertion result)">
+ desc="{@failure@} (assertion result)">
<param-copy name="@values@" />
</classify>
@@ -81,7 +81,7 @@
classification. The reason for this is that terminating
classifications terminate on _match_. -->
- <classify as="@as@" desc="@desc@" terminate="true">
+ <classify as="@as@" desc="@failure@" terminate="true">
<match on="@neg_yields@" value="FALSE" />
</classify>
</template>
@@ -104,7 +104,7 @@
<param name="@when@" desc="Conditional check (optional)" />
<param name="@class@" desc="Conditional class check" />
- <param name="@desc@" desc="Description">
+ <param name="@failure@" desc="Failure description">
<param-value name="@name@" />
<text> is empty</text>
</param>
@@ -115,7 +115,7 @@
</param>
- <t:assert desc="@desc@">
+ <t:assert failure="@failure@">
<if name="@when@">
<match on="@when@" />
</if>
@@ -152,7 +152,7 @@
<warning>deprecated; use _assert-nonzero_ instead.</warning>
<t:assert-nonzero name="@name@" when="@when@" class="@class@"
- desc="@desc@">
+ failure="@desc@">
<param-copy name="@values@" />
</t:assert-nonzero>
</template>