Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2013-08-30 23:30:07 -0400
committerMarc-Andre Laperle2013-08-30 23:50:36 -0400
commit8a79315e61500242716f9854c5f9bd5a184892a0 (patch)
tree4137214d37b7eb7d8a47e5a5f137e4e2756dc8c1
parent6a767437c90bc7a153bc6e0a0408dfdf6a1cc888 (diff)
downloadorg.eclipse.cdt-8a79315e61500242716f9854c5f9bd5a184892a0.tar.gz
org.eclipse.cdt-8a79315e61500242716f9854c5f9bd5a184892a0.tar.xz
org.eclipse.cdt-8a79315e61500242716f9854c5f9bd5a184892a0.zip
Bug 412032 - Fix test that failed to fail before the fix
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/extractlocalvariable/ExtractLocalVariableRefactoringTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/extractlocalvariable/ExtractLocalVariableRefactoringTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/extractlocalvariable/ExtractLocalVariableRefactoringTest.java
index b483a2ed54..3b8ec08824 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/extractlocalvariable/ExtractLocalVariableRefactoringTest.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/extractlocalvariable/ExtractLocalVariableRefactoringTest.java
@@ -554,15 +554,17 @@ public class ExtractLocalVariableRefactoringTest extends RefactoringTestBase {
//main.c
//int getSomething(int x) { return 0; }
+ //int getSomething2(int x) { return 0; }
//
//void f(){
- // /*$*/getSomething(getSomething(0))/*$$*/;
+ // /*$*/getSomething(getSomething2(0))/*$$*/;
//}
//====================
//int getSomething(int x) { return 0; }
+ //int getSomething2(int x) { return 0; }
//
//void f(){
- // int something = getSomething(getSomething(0));
+ // int something = getSomething(getSomething2(0));
// something;
//}
public void testSuggestedNameCFile_Bug412032_2() throws Exception {

Back to the top