ContractInferenceFromSourceTest: remove red class reference from test data

This commit is contained in:
peter
2014-09-24 15:55:21 +02:00
parent d40497b55e
commit 8c3a8e7c44
@@ -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']