Skip to content

Commit

Permalink
Fix some cases for "Inline local variable" quick assist
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Dec 10, 2018
1 parent edfaa10 commit fe2f0b3
Show file tree
Hide file tree
Showing 7 changed files with 1,164 additions and 688 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
package org.eclipse.jdt.groovy.core.tests.xform;

import static org.eclipse.jdt.groovy.core.tests.GroovyBundle.isParrotParser;

import org.eclipse.jdt.groovy.core.tests.basic.GroovyCompilerTestSuite;
import org.junit.Ignore;
import org.junit.Test;
Expand Down Expand Up @@ -48,7 +46,7 @@ public void testTypeChecked1() {
"----------\n" +
"2. ERROR in Foo.groovy (at line 5)\n" +
"\tprintln \"Did you spot the error in this ${message.toUppercase()}?\"\n" +
"\t " + (isParrotParser() ? " ^^^^^^^^^^^^^^^^^^^^^" : "^^^^^^^^^^^^^^^^^^^^^^^") + "\n" +
"\t ^^^^^^^^^^^^^^^^^^^^^\n" +
"Groovy:[Static type checking] - Cannot find matching method java.lang.String#toUppercase(). Please check if the declared type is correct and if the method exists.\n" +
"----------\n");
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit fe2f0b3

Please sign in to comment.