mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 412032 - Fix test that failed to fail before the fix
This commit is contained in:
parent
3a1afc32a0
commit
18e785490f
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue