Permalink
Browse files

Fix for GRECLIPSE-1512.

  • Loading branch information...
aeisenberg committed Oct 5, 2012
1 parent 5fcb641 commit 9a57eb5f5b324c393e13e9099238e3dbbbf1e83b
@@ -101,7 +101,7 @@ public void testDivide() throws Exception {
String contents =
"class Foo { }\n" +
"class Bar {\n" +
- " Foo divide() { }\n" +
+ " Foo div() { }\n" +
"}\n" +
"def xxx = new Bar() / nuthin\n" +
"xxx";
@@ -1061,7 +1061,7 @@ private String findBinaryOperatorName(String text) {
}
return "multiply";
case '/':
- return "divide";
+ return "div";
case '%':
return "mod";
case '&':

0 comments on commit 9a57eb5

Please sign in to comment.