diff options
Diffstat (limited to 'lib/sdp/ao_assertions.d')
-rw-r--r-- | lib/sdp/ao_assertions.d | 7 |
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"); } } - |