Skip to content

Commit 83f0b85

Browse files
committed
More conversion of () to Void
1 parent c9fe983 commit 83f0b85

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

TestFoundation/TestNSBundle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class TestNSBundle : XCTestCase {
2323

24-
var allTests : [(String, () -> ())] {
24+
var allTests : [(String, () -> Void)] {
2525
return [
2626
("test_paths", test_paths),
2727
("test_resources", test_resources),

TestFoundation/TestNSIndexPath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class TestNSIndexPath: XCTestCase {
2121

22-
var allTests: [(String, () -> ())] {
22+
var allTests: [(String, () -> Void)] {
2323
return [
2424
("test_BasicConstruction", test_BasicConstruction)
2525
]

TestFoundation/TestNSJSONSerialization.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ extension TestNSJSONSerialization {
401401
// MARK: - isValidJSONObjectTests
402402
extension TestNSJSONSerialization {
403403

404-
var isValidJSONObjectTests: [(String, () -> ())] {
404+
var isValidJSONObjectTests: [(String, () -> Void)] {
405405
return [
406406
("test_isValidJSONObjectTrue", test_isValidJSONObjectTrue),
407407
("test_isValidJSONObjectFalse", test_isValidJSONObjectFalse),

TestFoundation/TestNSProcessInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class TestNSProcessInfo : XCTestCase {
2121

22-
var allTests : [(String, () -> ())] {
22+
var allTests : [(String, () -> Void)] {
2323
return [
2424
("test_operatingSystemVersion", test_operatingSystemVersion ),
2525
("test_processName", test_processName ),

TestFoundation/TestNSURL.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class TestNSURL : XCTestCase {
348348
}
349349

350350
class TestNSURLComponents : XCTestCase {
351-
var allTests : [(String, () -> ())] {
351+
var allTests : [(String, () -> Void)] {
352352
return [
353353
("test_string", test_string),
354354
]

0 commit comments

Comments
 (0)