Format code using Clang-Format 10 and enforce via CI

Makes the format of the code base uniform.
This commit is contained in:
Alexander Grund 2022-01-24 16:11:29 +01:00
parent b5bb500bd2
commit ee72e8b9d8
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
97 changed files with 11189 additions and 10842 deletions

View file

@ -8,12 +8,12 @@
#include <turtle/mock.hpp>
MOCK_CLASS( my_class )
MOCK_CLASS(my_class)
{
MOCK_METHOD_EXT( my_method, 1, void( int ), my_method )
MOCK_METHOD_EXT(my_method, 1, void(int), my_method)
};
void test_case()
{
my_class c;
MOCK_EXPECT( c.my_method ).with( 42, 42 );
MOCK_EXPECT(c.my_method).with(42, 42);
}