From 61d942463116665fdc325982869e15f06fd45218 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 14 Mar 2013 11:10:12 +0100 Subject: [PATCH] astyle formatting --- test/testbufferoverrun.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/testbufferoverrun.cpp b/test/testbufferoverrun.cpp index 0d925350f..2de3d0ead 100644 --- a/test/testbufferoverrun.cpp +++ b/test/testbufferoverrun.cpp @@ -1498,20 +1498,20 @@ private: "}"); ASSERT_EQUALS("", errout.str()); - check("struct AB { int a[10]; int b[10]; };\n" - "int main() {\n" - " struct AB ab[1];\n" - " int * p = &ab[0].a[10]; \n" - " return 0;\n" - "}"); + check("struct AB { int a[10]; int b[10]; };\n" + "int main() {\n" + " struct AB ab[1];\n" + " int * p = &ab[0].a[10]; \n" + " return 0;\n" + "}"); ASSERT_EQUALS("", errout.str()); - check("struct AB { int a[10]; int b[10]; };\n" - "int main() {\n" - " struct AB ab[1];\n" - " int * p = &ab[10].a[0]; \n" - " return 0;\n" - "}"); + check("struct AB { int a[10]; int b[10]; };\n" + "int main() {\n" + " struct AB ab[1];\n" + " int * p = &ab[10].a[0]; \n" + " return 0;\n" + "}"); ASSERT_EQUALS("[test.cpp:4]: (error) Array 'ab[1]' accessed at index 10, which is out of bounds.\n", errout.str()); }