From baacf46add1ac5c8db7a367ea6151719fc320f48 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 21 Sep 2011 20:24:44 -0700 Subject: [PATCH] Bug 357300. Stricter test case. --- .../org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java index 5e8a10a05e7..c8465829e89 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java @@ -1203,8 +1203,8 @@ public class CodeFormatterTest extends BaseUITestCase { //template //struct type_with_multiple_template_parameters {}; // - //void wrap_when_necessary(type_with_multiple_template_parameters p1, int p2, int p3) { - //} + //void wrap_when_necessary(type_with_multiple_template_parameters p1, int p2, int p3) {} + //void wrap_when_necessary(type_with_multiple_template_parameters p1, int p2, int p3) {} //template //struct type_with_multiple_template_parameters { @@ -1213,6 +1213,10 @@ public class CodeFormatterTest extends BaseUITestCase { //void wrap_when_necessary(type_with_multiple_template_parameters p1, // int p2, int p3) { //} + //void wrap_when_necessary( + // type_with_multiple_template_parameters p1, int p2, + // int p3) { + //} public void testFunctionCallWithTemplates_Bug357300() throws Exception { fOptions.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, CCorePlugin.SPACE); assertFormatterResult();