From 5d2b09980c4d2f89234895c40d49f2e6e7d95a86 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Wed, 29 Dec 2021 15:23:35 +0100 Subject: [PATCH] test: Improve code style --- test/suites/base.bash | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/test/suites/base.bash b/test/suites/base.bash index dd52292d2..234b67805 100644 --- a/test/suites/base.bash +++ b/test/suites/base.bash @@ -1442,18 +1442,19 @@ EOF expect_stat unsupported_code_directive 2 cat <incbin.cpp - struct A { - void incbin() const { } - }; - void f() { - A a; - a.incbin(); - } + struct A { + void incbin() const {} + }; + void f() + { + A a; + a.incbin(); + } EOF $CCACHE_COMPILE -x c++ -c incbin.cpp expect_stat preprocessed_cache_hit 0 - expect_stat unsupported_code_directive 2 expect_stat cache_miss 1 + expect_stat unsupported_code_directive 2 fi # ------------------------------------------------------------------------- -- 2.47.2