Skip to content

Commit e0bbedc

Browse files
committed
Fixup availability for one of the Float16 tests.
1 parent 74e2cb6 commit e0bbedc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/stdlib/PrintFloat.swift.gyb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,7 @@ fileprivate func expectDescription(_ expected: String, _ object: ${FloatType},
383383
// that is closest (as an infinitely-precise real number) to the original
384384
// binary float (interpreted as an infinitely-precise real number).
385385
% if FloatType == 'Float16':
386-
@available(iOS 14.0, watchOS 7.0, tvOS 14.0, *)
387-
@available(macOS, unavailable)
388-
@available(macCatalyst, unavailable)
386+
@available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
389387
% end
390388
fileprivate func expectAccurateDescription(_ object: ${FloatType},
391389
_ message: @autoclosure () -> String = "",

0 commit comments

Comments
 (0)