Skip to content

Commit 0e33716

Browse files
committed
Added watchOS build exclusion for unit tests
1 parent b4535d4 commit 0e33716

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Tests/TextFileKitTests/TextFile CSV Tests.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
//
2+
// TextFile CSV Tests.swift
3+
// TextFileKit
4+
//
15
// Created by Steffan Andrews on 2020-08-26.
26
// Copyright © 2020 Steffan Andrews. All rights reserved.
37
//
48

9+
#if !os(watchOS)
10+
511
import XCTest
612
@testable import TextFileKit
713

@@ -128,3 +134,5 @@ extension CSV_Tests {
128134
}
129135

130136
}
137+
138+
#endif

Tests/TextFileKitTests/TextFile TSV Tests.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
//
2+
// TextFile TSV Tests.swift
3+
// TextFileKit
4+
//
15
// Created by Steffan Andrews on 2020-08-26.
26
// Copyright © 2020 Steffan Andrews. All rights reserved.
37
//
48

9+
#if !os(watchOS)
10+
511
import XCTest
612
@testable import TextFileKit
713

@@ -128,3 +134,5 @@ extension TSV_Tests {
128134
}
129135

130136
}
137+
138+
#endif

0 commit comments

Comments
 (0)