summaryrefslogtreecommitdiff
path: root/tests/test_rect2.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_rect2.h')
-rw-r--r--tests/test_rect2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_rect2.h b/tests/test_rect2.h
index b94a8b7d05..5d58428fc0 100644
--- a/tests/test_rect2.h
+++ b/tests/test_rect2.h
@@ -144,7 +144,7 @@ TEST_CASE("[Rect2] Absolute coordinates") {
"abs() should return the expected Rect2.");
}
-TEST_CASE("[Rect2] Intersecton") {
+TEST_CASE("[Rect2] Intersection") {
CHECK_MESSAGE(
Rect2(0, 100, 1280, 720).intersection(Rect2(0, 300, 100, 100)).is_equal_approx(Rect2(0, 300, 100, 100)),
"intersection() with fully enclosed Rect2 should return the expected result.");