]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Improve code style
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 29 Dec 2021 14:23:35 +0000 (15:23 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 29 Dec 2021 14:23:35 +0000 (15:23 +0100)
test/suites/base.bash

index dd52292d29623e847732341d7d6993a9436a66db..234b67805df351d0115ee614d7df745d05d3fe3b 100644 (file)
@@ -1442,18 +1442,19 @@ EOF
     expect_stat unsupported_code_directive 2
 
     cat <<EOF >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
 
     # -------------------------------------------------------------------------