Asserts that the string values are equal.
AssertException otherwise
1 assertEquals("foo", "foo"); 2 3 auto exception = expectThrows!AssertException(assertEquals("bar", "baz")); 4 5 assertEquals("expected: <ba<r>> but was: <ba<z>>", exception.msg);
See Implementation
Asserts that the string values are equal.