mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Windows] Fix SourceKit/CompileNotifications/code-completion.swift
When Windows normalizes paths, it prefixes them with \\?\. Fix the regex to allow this.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// 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.filepath: "{{.*}}SOURCE_DIR{{.*}}code-completion.swift",
|
||||
// COMPILE_1: key.compileid: [[CID1:".*"]]
|
||||
// COMPILE_1: }
|
||||
// COMPILE_1: {
|
||||
|
||||
Reference in New Issue
Block a user