From: Joel Rosdahl Date: Wed, 29 Dec 2021 14:23:35 +0000 (+0100) Subject: test: Improve code style X-Git-Tag: v4.6~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d2b09980c4d2f89234895c40d49f2e6e7d95a86;p=thirdparty%2Fccache.git test: Improve code style --- 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 # -------------------------------------------------------------------------