File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -83,14 +83,19 @@ UnicodeScalarPropertiesTests.test("properties.booleanProperties") {
83
83
expectBooleanProperty ( \. changesWhenNFKCCaseFolded, trueFor: " A " , falseFor: " ! " )
84
84
85
85
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
86
- // U+2708 AIRPLANE
87
- expectBooleanProperty ( \. isEmoji, trueFor: " \u{2708} " , falseFor: " A " )
88
- // U+231A WATCH
89
- expectBooleanProperty ( \. isEmojiPresentation, trueFor: " \u{231A} " , falseFor: " A " )
90
- // U+1F3FD EMOJI MODIFIER FITZPATRICK TYPE-4
91
- expectBooleanProperty ( \. isEmojiModifier, trueFor: " \u{1F3FD} " , falseFor: " A " )
92
- // U+270B RAISED HAND
93
- expectBooleanProperty ( \. isEmojiModifierBase, trueFor: " \u{270B} " , falseFor: " A " )
86
+ if #available( iOS 10 . 2 , * ) {
87
+ // U+2708 AIRPLANE
88
+ expectBooleanProperty ( \. isEmoji, trueFor: " \u{2708} " , falseFor: " A " )
89
+ // U+231A WATCH
90
+ expectBooleanProperty (
91
+ \. isEmojiPresentation, trueFor: " \u{231A} " , falseFor: " A " )
92
+ // U+1F3FD EMOJI MODIFIER FITZPATRICK TYPE-4
93
+ expectBooleanProperty (
94
+ \. isEmojiModifier, trueFor: " \u{1F3FD} " , falseFor: " A " )
95
+ // U+270B RAISED HAND
96
+ expectBooleanProperty (
97
+ \. isEmojiModifierBase, trueFor: " \u{270B} " , falseFor: " A " )
98
+ }
94
99
#endif
95
100
}
96
101
You can’t perform that action at this time.
0 commit comments