Skip to content

Commit a772d76

Browse files
committed
Remove an invalid IDE test
Even if we weren't invalidating the parameter's type, this would be completing a type's members on a parameter label.
1 parent a1e956d commit a772d76

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/IDE/complete_default_arguments.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=DEFAULT_ARG_INIT_1 | %FileCheck %s -check-prefix=DEFAULT_ARG_INIT
2121
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=DEFAULT_ARG_INIT_2 | %FileCheck %s -check-prefix=DEFAULT_ARG_INIT_INTCONTEXT
2222
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=DEFAULT_ARG_INIT_3 | %FileCheck %s -check-prefix=DEFAULT_ARG_INIT_INTCONTEXT
23-
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=DEFAULT_ARG_INIT_4 | %FileCheck %s -check-prefix=DEFAULT_ARG_INIT_INTCONTEXT
2423

2524
func freeFuncWithDefaultArgs1(
2625
_ a: Int, b: Int = 42, file: String = #file, line: Int = #line,
@@ -135,8 +134,7 @@ func testDefaultArgs9(_ x: C2) {
135134
let globalVar = 1
136135
func testDefaultArgInit1(x = #^DEFAULT_ARG_INIT_1^#) { }
137136
func testDefaultArgInit2(_: Int = #^DEFAULT_ARG_INIT_2^#) { }
138-
func testDefaultArgInit3(Int = #^DEFAULT_ARG_INIT_3^#) { }
139-
func testDefaultArgInit4(_ x: Int = #^DEFAULT_ARG_INIT_4^#) { }
137+
func testDefaultArgInit3(_ x: Int = #^DEFAULT_ARG_INIT_3^#) { }
140138
// DEFAULT_ARG_INIT: Begin completions
141139
// DEFAULT_ARG_INIT: Decl[GlobalVar]/CurrModule: globalVar[#Int#]{{; name=.+$}}
142140
// DEFAULT_ARG_INIT: End completions

0 commit comments

Comments
 (0)