aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sdp/ao_assertions.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-10-20 21:55:11 -0400
committerRalph Amissah <ralph@amissah.com>2015-10-20 23:10:37 -0400
commit4c6c9216390f7dee4552846ee17f2bcb3402b43c (patch)
tree15750b24ed5cda482908fad4cfad73f7477423a2 /lib/sdp/ao_assertions.d
parentliterate programming introduced, tangle not yet run (diff)
.d files made, emacs org babel tangle run on .org files
Diffstat (limited to 'lib/sdp/ao_assertions.d')
-rw-r--r--lib/sdp/ao_assertions.d7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sdp/ao_assertions.d b/lib/sdp/ao_assertions.d
index 7cd1713..8cdbc87 100644
--- a/lib/sdp/ao_assertions.d
+++ b/lib/sdp/ao_assertions.d
@@ -1,6 +1,6 @@
/*
-#+OPTIONS: ^:nil _:nil#+OPTIONS: ^:nil _:nil
-* sisu_assertions.d
+ assertions
+ ao_assertions.d
*/
mixin template AssertionsOnMarkupDocumentStructure() {
auto assertions_doc_structure(string[string] object, uint[string] lv) {
@@ -107,7 +107,7 @@ mixin template AssertionsOnMarkupDocumentStructure() {
assert(lv["h5"] == 0);
assert(lv["h6"] == 0);
assert(lv["h7"] == 0);
- } else { // (lv["h0"] >0)
+ } else {
assert(lv["h0"] == 0,"error should not enter level A a second time");
}
break;
@@ -219,4 +219,3 @@ mixin template AssertionsOnBlocks() {
"block status: none or closed");
}
}
-