Files
swift-mirror/test/SourceKit/CompileNotifications/code-completion.swift
Gwen Mittertreiner f863c93183 [Windows] Fix SourceKit/CompileNotifications/code-completion.swift
When Windows normalizes paths, it prefixes them with \\?\. Fix the regex
to allow this.
2019-07-17 14:40:22 -07:00

12 lines
565 B
Swift

// RUN: %sourcekitd-test -req=track-compiles == -req=complete %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1
// COMPILE_1: {
// COMPILE_1: key.notification: source.notification.compile-will-start,
// COMPILE_1: key.filepath: "{{.*}}SOURCE_DIR{{.*}}code-completion.swift",
// COMPILE_1: key.compileid: [[CID1:".*"]]
// COMPILE_1: }
// COMPILE_1: {
// COMPILE_1: key.notification: source.notification.compile-did-finish,
// COMPILE_1: key.compileid: [[CID1]]
// COMPILE_1: }
// COMPILE_1-NOT: compile-will-start
// COMPILE_1-NOT: compile-did-finish