From 1e24418be22ae079daec08c6a90873743d5b64d0 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 8 Jul 2019 20:08:18 +0200 Subject: [PATCH] Fix braces in vision test These are needed for the purpose of making the INFO statements display only for the corresponding tests. --- tests/vision_test.cpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/vision_test.cpp b/tests/vision_test.cpp index 25d6983ca437c..83dd4ba3a4a86 100644 --- a/tests/vision_test.cpp +++ b/tests/vision_test.cpp @@ -283,13 +283,16 @@ struct vision_test_case { } void test_all() const { - INFO( "using 3d casting" ); - fov_3d = true; - test_all_transformations(); - - INFO( "using 2d casting" ); - fov_3d = false; - test_all_transformations(); + { + INFO( "using 3d casting" ); + fov_3d = true; + test_all_transformations(); + } + { + INFO( "using 2d casting" ); + fov_3d = false; + test_all_transformations(); + } } };