Skip to content

Commit 1244b5c

Browse files
authored
test: repair the test after #32355 (#32457)
Fix the tests that #32355 broke.
1 parent e9691e4 commit 1244b5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/ScanDependencies/explicit-module-map.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// RUN: echo "public func foo() {}" >> %t/foo.swift
66
// 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
77

8-
// RUN: echo "[{" > %t/inputs/map.json
9-
// RUN: echo "\"SwiftModule\": \"Foo\"," >> %t/inputs/map.json
10-
// RUN: echo "\"SwiftModulePath\": \"%t/inputs/Foo.swiftmodule\"," >> %t/inputs/map.json
11-
// RUN: echo "\"SwiftDocPath\": \"%t/inputs/Foo.swiftdoc\"," >> %t/inputs/map.json
12-
// RUN: echo "\"SwiftSourceInfoPath\": \"%t/inputs/Foo.swiftsourceinfo\"" >> %t/inputs/map.json
13-
// RUN: echo "}]" >> %t/inputs/map.json
8+
// RUN: echo "[{" > %/t/inputs/map.json
9+
// RUN: echo "\"SwiftModule\": \"Foo\"," >> %/t/inputs/map.json
10+
// RUN: echo "\"SwiftModulePath\": \"%/t/inputs/Foo.swiftmodule\"," >> %/t/inputs/map.json
11+
// RUN: echo "\"SwiftDocPath\": \"%/t/inputs/Foo.swiftdoc\"," >> %/t/inputs/map.json
12+
// RUN: echo "\"SwiftSourceInfoPath\": \"%/t/inputs/Foo.swiftsourceinfo\"" >> %/t/inputs/map.json
13+
// RUN: echo "}]" >> %/t/inputs/map.json
1414

1515
// 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
1616

0 commit comments

Comments
 (0)