mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-16 08:20:19 +07:00
advHighlighting -> light test case
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package pck;
|
||||
|
||||
class TestCase {
|
||||
void assertEquals(Object o1, Object o2) {}
|
||||
|
||||
void assertEquals(int i1, int i2) {}
|
||||
}
|
||||
|
||||
class Test extends TestCase {
|
||||
void test() {
|
||||
int expected = 1;
|
||||
Integer actual = 2;
|
||||
assertEquals<error descr="Ambiguous method call: both 'TestCase.assertEquals(Object, Object)' and 'TestCase.assertEquals(int, int)' match">(expected, actual)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user