Files
swift-mirror/test/IDE/complete_unicode.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

26 lines
1.4 KiB
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=UNICODE_1 > %t.unicode.txt
// RUN: %FileCheck %s -check-prefix=UNICODE_1 < %t.unicode.txt
struct Unicode1 {
func Идентификаторы_с_кириллицей_допустимы() {}
func Ідентіфікатори_українською_також_працюють() {}
func () {}
func () {}
func () {}
func () {}
func () {}
}
func unicode_test_1() {
Unicode1().#^UNICODE_1^#
}
// UNICODE_1: Begin completions, 8 items
// UNICODE_1-DAG: Keyword[self]/CurrNominal: self[#Unicode1#]; name=self
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: Идентификаторы_с_кириллицей_допустимы()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: Ідентіфікатори_українською_також_працюють()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: ()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: ()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: ()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: ()[#Void#]{{; name=.+$}}
// UNICODE_1-DAG: Decl[InstanceMethod]/CurrNominal: ()[#Void#]{{; name=.+$}}