mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
ContractInferenceFromSourceTest: remove red class reference from test data
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ class ContractInferenceFromSourceTest extends LightCodeInsightFixtureTestCase {
|
||||
public void "test dig into type cast"() {
|
||||
def c = inferContracts("""
|
||||
public static String cast(Object o) {
|
||||
return o instanceof ProgressWrapper ? (String)o : null;
|
||||
return o instanceof String ? (String)o : null;
|
||||
}
|
||||
""")
|
||||
assert c == ['null -> null']
|
||||
|
||||
Reference in New Issue
Block a user