From f9a483eba9f654548eaab8b3b03fadf48620f773 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 18 Jun 2020 14:00:31 -0700 Subject: [PATCH] test: repair the test after #32355 Fix the tests that #32355 broke. --- test/ScanDependencies/explicit-module-map.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/ScanDependencies/explicit-module-map.swift b/test/ScanDependencies/explicit-module-map.swift index 9eb9894c6193b..40889a1f45a2e 100644 --- a/test/ScanDependencies/explicit-module-map.swift +++ b/test/ScanDependencies/explicit-module-map.swift @@ -5,13 +5,13 @@ // RUN: echo "public func foo() {}" >> %t/foo.swift // RUN: %target-swift-frontend -emit-module -emit-module-path %t/inputs/Foo.swiftmodule -emit-module-doc-path %t/inputs/Foo.swiftdoc -emit-module-source-info -emit-module-source-info-path %t/inputs/Foo.swiftsourceinfo -module-cache-path %t.module-cache %t/foo.swift -module-name Foo -// RUN: echo "{" > %t/inputs/map.json -// RUN: echo "\"Foo\": {" >> %t/inputs/map.json -// RUN: echo "\"SwiftModulePath\": \"%t/inputs/Foo.swiftmodule\"," >> %t/inputs/map.json -// RUN: echo "\"SwiftDocPath\": \"%t/inputs/Foo.swiftdoc\"," >> %t/inputs/map.json -// RUN: echo "\"SwiftSourceInfoPath\": \"%t/inputs/Foo.swiftsourceinfo\"" >> %t/inputs/map.json -// RUN: echo "}" >> %t/inputs/map.json -// RUN: echo "}" >> %t/inputs/map.json +// RUN: echo "{" > %/t/inputs/map.json +// RUN: echo "\"Foo\": {" >> %/t/inputs/map.json +// RUN: echo "\"SwiftModulePath\": \"%/t/inputs/Foo.swiftmodule\"," >> %/t/inputs/map.json +// RUN: echo "\"SwiftDocPath\": \"%/t/inputs/Foo.swiftdoc\"," >> %/t/inputs/map.json +// RUN: echo "\"SwiftSourceInfoPath\": \"%/t/inputs/Foo.swiftsourceinfo\"" >> %/t/inputs/map.json +// RUN: echo "}" >> %/t/inputs/map.json +// RUN: echo "}" >> %/t/inputs/map.json // RUN: %target-swift-ide-test -print-module-comments -module-to-print=Foo -enable-swiftsourceinfo -source-filename %s -explicit-swift-module-map-file %t/inputs/map.json | %FileCheck %s