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