diff options
Diffstat (limited to 'src/test/ECSTest.cpp')
| -rw-r--r-- | src/test/ECSTest.cpp | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/src/test/ECSTest.cpp b/src/test/ECSTest.cpp index b552581..80b936b 100644 --- a/src/test/ECSTest.cpp +++ b/src/test/ECSTest.cpp @@ -188,13 +188,10 @@ TEST_F(ECSTest, tooMuchComponents) {  TEST_F(ECSTest, partentChild) {  	{  		GameObject body = mgr.new_object("body", "person", vec2{0, 0}, 0, 1); -		GameObject right_leg -			= mgr.new_object("rightLeg", "person", vec2{1, 1}, 0, 1); +		GameObject right_leg = mgr.new_object("rightLeg", "person", vec2{1, 1}, 0, 1);  		GameObject left_leg = mgr.new_object("leftLeg", "person", vec2{1, 1}, 0, 1); -		GameObject right_foot -			= mgr.new_object("rightFoot", "person", vec2{2, 2}, 0, 1); -		GameObject left_foot -			= mgr.new_object("leftFoot", "person", vec2{2, 2}, 0, 1); +		GameObject right_foot = mgr.new_object("rightFoot", "person", vec2{2, 2}, 0, 1); +		GameObject left_foot = mgr.new_object("leftFoot", "person", vec2{2, 2}, 0, 1);  		// Set the parent of each GameObject  		right_foot.set_parent(right_leg); |