test: Fix formatting (clang-format-8)

This commit is contained in:
Paweł Bylica 2019-03-11 12:54:12 +01:00
parent 4a9e852c4d
commit a2c0934073
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ jobs:
- run:
name: "Check code format"
command: |
clang-format --version
find examples include lib test -name '*.hpp' -o -name '*.cpp' -o -name '*.h' -o -name '*.c' | xargs clang-format -i
git diff --color --exit-code
- run:

View File

@ -111,9 +111,9 @@ TEST_F(evmc_vm_test, version)
TEST_F(evmc_vm_test, set_tracer)
{
static const auto tracer_callback = [](evmc_tracer_context*, size_t, evmc_status_code, int64_t,
size_t, const evmc_uint256be*, size_t, size_t, size_t,
const uint8_t*) noexcept {};
static const auto tracer_callback =
[](evmc_tracer_context*, size_t, evmc_status_code, int64_t, size_t, const evmc_uint256be*,
size_t, size_t, size_t, const uint8_t*) noexcept {};
if (vm->set_tracer)
vm->set_tracer(vm, tracer_callback, nullptr);
}