Skip to content

Commit a707691

Browse files
committed
[region-isolation] Rename a test from being just for fixed objc crashers to just containing tests for objc in general.
I am doing this in preparation for adding a non-crasher test to this.
1 parent 3c38c79 commit a707691

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Concurrency/transfernonsendable_crashers_objc.swift renamed to test/Concurrency/transfernonsendable_objc.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -emit-sil -strict-concurrency=complete -enable-upcoming-feature RegionBasedIsolation -target %target-swift-5.1-abi-triple %s -o /dev/null -import-objc-header %S/Inputs/transfernonsendable_crashers_objc.h -enable-upcoming-feature GlobalActorIsolatedTypesUsability
1+
// RUN: %target-swift-frontend -emit-sil -strict-concurrency=complete -enable-upcoming-feature RegionBasedIsolation -target %target-swift-5.1-abi-triple %s -o /dev/null -import-objc-header %S/Inputs/transfernonsendable_objc.h -enable-upcoming-feature GlobalActorIsolatedTypesUsability
22

33
// REQUIRES: objc_interop
44
// REQUIRES: asserts
@@ -11,12 +11,12 @@ extension MyNotificationCenter {
1111

1212
public func handleFile(at location: URL) throws {
1313
// createDownloadDirectoryIfRequired()
14-
let movedFileLocation = try moveTheme(from: location)
14+
let movedFileLocation = try moveFile(from: location)
1515
let unzippedFileLocation = try unzipFile(at: movedFileLocation)
1616
MyNotificationCenter.value!.post()
1717
}
1818

19-
private func moveTheme(from location: URL) throws -> URL { fatalError() }
19+
private func moveFile(from location: URL) throws -> URL { fatalError() }
2020
private func unzipFile(at location: URL) throws -> URL { fatalError() }
2121

2222
actor MyActor {

0 commit comments

Comments
 (0)