aboutsummaryrefslogtreecommitdiff
path: root/t/t.tmac
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-21 14:33:37 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-21 14:34:48 +0200
commitb1ddb4001d5e3f0ef17ce2cc1363140efb733419 (patch)
treec484ca8e79823c997d01bf84ff9f63541ee6dc43 /t/t.tmac
parent0fc33e53e2fd1410c2b2ea71bb21afcebee93a29 (diff)
downloadmk-b1ddb4001d5e3f0ef17ce2cc1363140efb733419.tar.gz
ne.t: Test s l, s ll
Diffstat (limited to 't/t.tmac')
-rw-r--r--t/t.tmac12
1 files changed, 10 insertions, 2 deletions
diff --git a/t/t.tmac b/t/t.tmac
index c266c1f..e2c1dab 100644
--- a/t/t.tmac
+++ b/t/t.tmac
@@ -6,12 +6,20 @@
.
.\" make assertion
.de assert
-.ie \\$1 \{\
+.ec `
+.ie `$1 \{\
. tm1 " success
.\}
+.ec
.el \{\
-. tm1 " failure: \\$1
+. if \\nF<\\nt .tm1 " failure:
+.ec `
+. ds *exp `$1
+.ec
+. tm1 "{ \\*[*exp]
+. if !'\\*[*exp]'\\$1' . tm1 "} \\$1
. nr f +1
+. nr F \\nt
.\}
..
.\" end tests