From e72941bb23b25aa0d6b7c33e9c9432a0cd08e368 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 13 Jan 2020 01:58:05 +0300 Subject: work around clang-format oddity --- test/unit_tests/lexer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/unit_tests/lexer.cpp b/test/unit_tests/lexer.cpp index 8925f4d..c47e9f2 100644 --- a/test/unit_tests/lexer.cpp +++ b/test/unit_tests/lexer.cpp @@ -61,6 +61,8 @@ BOOST_AUTO_TEST_CASE(test_parse_const_token) { namespace { namespace get_tokens::valid { +// clang-format off +// wtf, don't binpack this const std::vector input{ "", " + - ", @@ -69,6 +71,7 @@ const std::vector input{ "1+2 * (3- 4e-2)", " 2 * (1 + 3 * (1 - -3)) ", }; +// clang-format on // Some black magic-fuckery to resolve operator<< for std::vector. // See https://stackoverflow.com/a/18817428/514684. -- cgit v1.2.3