Files
swift-mirror/test/IDE/complete_func_no_closing_brace.swift
Alex Hoppen 32eff21977 [IDE] Remove "Begin completions" and "End completions" from test cases
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00

10 lines
348 B
Swift

// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=A | %FileCheck %s -check-prefix=A
// Make sure we don't crash on a function without a closing brace before EOF.
// Don't add any tests at the end of the file!
//
// A-DAG: Decl[FreeFunction]/CurrModule: f()[#Void#]{{; name=.+$}}
func f() {
#^A^#
1 2 3