Skip to content

Commit 473b373

Browse files
authored
Merge pull request swiftlang#9113 from nathawes/test-fix
Change %swift -> %target-swift-frontend
2 parents 8338795 + 76dc421 commit 473b373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Migrator/wrap_optional.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: objc_interop
22
// RUN: rm -rf %t.mod && mkdir -p %t.mod
3-
// RUN: %swift -emit-module -o %t.mod/cities.swiftmodule %S/Inputs/cities.swift -module-name Cities -parse-as-library
3+
// RUN: %target-swift-frontend -emit-module -o %t.mod/cities.swiftmodule %S/Inputs/cities.swift -module-name Cities -parse-as-library
44
// RUN: rm -rf %t && mkdir -p %t && %target-swift-frontend -c -update-code -disable-migrator-fixits -primary-file %s -I %t.mod -api-diff-data-file %S/API.json -emit-migrated-file-path %t/wrap_optional.swift.result -o %t/wrap_optional.swift.remap
55
// RUN: diff -u %S/wrap_optional.swift.expected %t/wrap_optional.swift.result
66

test/Migrator/wrap_optional.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: objc_interop
22
// RUN: rm -rf %t.mod && mkdir -p %t.mod
3-
// RUN: %swift -emit-module -o %t.mod/cities.swiftmodule %S/Inputs/cities.swift -module-name Cities -parse-as-library
3+
// RUN: %target-swift-frontend -emit-module -o %t.mod/cities.swiftmodule %S/Inputs/cities.swift -module-name Cities -parse-as-library
44
// RUN: rm -rf %t && mkdir -p %t && %target-swift-frontend -c -update-code -disable-migrator-fixits -primary-file %s -I %t.mod -api-diff-data-file %S/API.json -emit-migrated-file-path %t/wrap_optional.swift.result -o %t/wrap_optional.swift.remap
55
// RUN: diff -u %S/wrap_optional.swift.expected %t/wrap_optional.swift.result
66

0 commit comments

Comments
 (0)