From f05c50444082d599546ff08c38dd312520c76c85 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Tue, 3 Mar 2020 20:38:30 +0100 Subject: [PATCH] Running astyle [ci skip] --- test/testbufferoverrun.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/testbufferoverrun.cpp b/test/testbufferoverrun.cpp index 2485a3292..9013d219c 100644 --- a/test/testbufferoverrun.cpp +++ b/test/testbufferoverrun.cpp @@ -2814,10 +2814,10 @@ private: ASSERT_EQUALS("[test.cpp:3] -> [test.cpp:4]: (portability) Undefined behaviour, when 'i' is 123 the pointer arithmetic 'x+i' is out of bounds.\n", errout.str()); check("void f(int i) {\n" - " char x[10];\n" - " if (i == -1) {}\n" - " dostuff(x+i);\n" - "}"); + " char x[10];\n" + " if (i == -1) {}\n" + " dostuff(x+i);\n" + "}"); ASSERT_EQUALS("[test.cpp:3] -> [test.cpp:4]: (portability) Undefined behaviour, when 'i' is -1 the pointer arithmetic 'x+i' is out of bounds.\n", errout.str()); check("void f() {\n" // #6350 - fp when there is cast of buffer