From 2711018bcd427b47593272ba07567179d3dfd326 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 2 Jun 2020 11:18:00 -0700 Subject: [PATCH] test: adjust test to repair the test on Windows The test overfit for non-Windows platform. --- test/DebugInfo/curry_thunk.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/DebugInfo/curry_thunk.swift b/test/DebugInfo/curry_thunk.swift index 3197a6a78ac17..aed9a2a48dfbd 100644 --- a/test/DebugInfo/curry_thunk.swift +++ b/test/DebugInfo/curry_thunk.swift @@ -4,5 +4,5 @@ public func testCurryThunk() -> [HTTPMethod] { return ["asdf"].map(HTTPMethod.init) } -// CHECK: [[FILE:![0-9]+]] = !DIFile(filename: "{{.*}}/curry_thunk.swift", directory: "{{.*}}") +// CHECK: [[FILE:![0-9]+]] = !DIFile(filename: "{{.*[/\\]}}curry_thunk.swift", directory: "{{.*}}") // CHECK: {{![0-9]+}} = !DILocalVariable(name: "rawValue", arg: 1, scope: {{![0-9]+}}, file: {{![0-9]+}}, type: {{![0-9]+}}, flags: DIFlagArtificial)