de2944ff43
This test was checking errors *before* applying action, rather than *after*, like all other QuickFix-tests do. This commit moves errors-check after performing quick-fix action, and changes testdata: - for most tests errors are simply gone (as quickfix usually fixes that error) - also, for implementMembersInActualClassNoExpectMember we add 'DISABLE-ERROR', similarly to implementMembersInImplClassNonImplInheritor. This is needed because 'Implement Members'-fix created 'TODO'-calls, which are not resolved in those tests due to the lack of stdlib. Previously, there were no errors in this test exactly because file was checked *before* applying quickfix (i.e. when there were no 'TODO()' in file)
9 lines
137 B
Plaintext
Vendored
9 lines
137 B
Plaintext
Vendored
// "Create member function 'Foo.foo'" "true"
|
|
|
|
expect class Foo {
|
|
fun foo(s: String, i: Int)
|
|
}
|
|
|
|
fun test(f: Foo) {
|
|
f.foo("a", 1)
|
|
} |