Skip to content

Commit d668d4d

Browse files
committed
migrator/test: remove swift 3 flag for several tests.
1 parent f4eae3f commit d668d4d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

test/Migrator/no_double_edit_ast_pass.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: OS=macosx
22
// REQUIRES: objc_interop
3-
// RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk -swift-version 3
3+
// RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk
44
// RUN: %empty-directory(%t)
5-
// RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -swift-version 3 -o /dev/null
5+
// RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -o /dev/null
66
// RUN: diff -u %s.expected %t/no_double_edit_ast_pass.result
77

88
import Bar

test/Migrator/no_double_edit_ast_pass.swift.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: OS=macosx
22
// REQUIRES: objc_interop
3-
// RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk -swift-version 3
3+
// RUN: %target-swift-frontend -typecheck %s -F %S/mock-sdk
44
// RUN: %empty-directory(%t)
5-
// RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -swift-version 3 -o /dev/null
5+
// RUN: %target-swift-frontend -c -F %S/mock-sdk -api-diff-data-file %S/DoubleEditAPI.json -update-code -primary-file %s -emit-migrated-file-path %t/no_double_edit_ast_pass.result -o /dev/null
66
// RUN: diff -u %s.expected %t/no_double_edit_ast_pass.result
77

88
import Bar

test/Migrator/no_duplicate_aarch64_use_tbi.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// REQUIRES: OS=ios
22
// REQUIRES: CPU=arm64
3-
// RUN: %target-swift-frontend -typecheck %s -swift-version 3
3+
// RUN: %target-swift-frontend -typecheck %s
44
// RUN: %empty-directory(%t)
5-
// RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json -swift-version 3 %s -v
6-
// RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json -swift-version 3 %s -### > %t/driver_actions.txt
5+
// RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json %s -v
6+
// RUN: cd %t && %target-swiftc_driver -c -update-code -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json %s -### > %t/driver_actions.txt
77
// RUN: %FileCheck --check-prefix=CHECK-REMAP %s < %t/no_duplicate_aarch64_use_tbi.remap
88
// RUN: %FileCheck --check-prefix=CHECK-ACTIONS %s < %t/driver_actions.txt
99

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: OS=macosx
2-
// RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 3
3-
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 4
2+
// RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 4
3+
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummpy.result -swift-version 5
44

55
func foo() {}

0 commit comments

Comments
 (0)