Skip to content

Commit 75a2c47

Browse files
committed
LDEV-6377 fix TestBox assertion method - use toInclude instead of toContain
1 parent c99484a commit 75a2c47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/tickets/LDEV6377.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
4444
} catch (any e) {
4545
// Should throw ApplicationException with proper message
4646
expect(e.type).toBe("application", e.message);
47-
expect(e.message).toContain("nonexistentProperty");
47+
expect(e.message).toInclude("nonexistentProperty");
4848
}
4949
});
5050

0 commit comments

Comments
 (0)