Skip to content

Commit deeff6b

Browse files
committed
[test] SmallString: Don’t import Foundation where it’s not available
1 parent a2f8ba6 commit deeff6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/stdlib/SmallString.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
//
1010

1111
import StdlibUnittest
12+
#if _runtime(_ObjC)
1213
import Foundation
14+
#endif
1315
var SmallStringTests = TestSuite("SmallStringTests")
1416

1517
extension String: Error {}

0 commit comments

Comments
 (0)