From 82f510c64229a2d9c31c65c4279608c4b52da32c Mon Sep 17 00:00:00 2001 From: jadebenn Date: Tue, 17 Dec 2024 01:02:30 -0600 Subject: [PATCH] syntax --- tests/dECSTests/TestECS.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/dECSTests/TestECS.cpp b/tests/dECSTests/TestECS.cpp index 33041dc4..1ff29145 100644 --- a/tests/dECSTests/TestECS.cpp +++ b/tests/dECSTests/TestECS.cpp @@ -40,11 +40,11 @@ TEST(ECSTest, MakeOneEntityAndAddComponents) { testCompPtr->value = 15; // try getting the same component we just added - auto* const getTestCompPtr = e.GetComponent(); - ASSERT_NE(getTestCompPtr, nullptr); - ASSERT_EQ(testCompPtr, getTestCompPtr); - ASSERT_NE(getTestCompPtr->value, 0); - ASSERT_EQ(getTestCompPtr->value, 15); + auto* const gotTestCompPtr = e.GetComponent(); + ASSERT_NE(gotTestCompPtr, nullptr); + ASSERT_EQ(gotTestCompPtr, testCompPtr); + ASSERT_NE(gotTestCompPtr->value, 0); + ASSERT_EQ(gotTestCompPtr->value, 15); } // Test world scoping