Asserts that the value is empty.
AssertException otherwise
1 assertEmpty([]); 2 3 auto exception = expectThrows!AssertException(assertEmpty([1, 2, 3])); 4 5 assertEquals("Assertion failure", exception.msg);
See Implementation
Asserts that the value is empty.