Skip to content

Commit

Permalink
Merge pull request swiftlang#24777 from bob-wilson/rdar50151131
Browse files Browse the repository at this point in the history
[Test] Add runtime 9999-availability check for a new test in Swift 5.1
  • Loading branch information
bob-wilson authored May 14, 2019
2 parents 28bad2b + 1d98709 commit 003290c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/stdlib/TestPlistEncoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,11 @@ PropertyListEncoderTests.test("testEncodingTopLevelStructuredSingleClass") { Tes
PropertyListEncoderTests.test("testEncodingTopLevelDeepStructuredType") { TestPropertyListEncoder().testEncodingTopLevelDeepStructuredType() }
PropertyListEncoderTests.test("testEncodingClassWhichSharesEncoderWithSuper") { TestPropertyListEncoder().testEncodingClassWhichSharesEncoderWithSuper() }
PropertyListEncoderTests.test("testEncodingTopLevelNullableType") { TestPropertyListEncoder().testEncodingTopLevelNullableType() }
PropertyListEncoderTests.test("testEncodingMultipleNestedContainersWithTheSameTopLevelKey") { TestPropertyListEncoder().testEncodingMultipleNestedContainersWithTheSameTopLevelKey() }
PropertyListEncoderTests.test("testEncodingMultipleNestedContainersWithTheSameTopLevelKey") {
if #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) {
TestPropertyListEncoder().testEncodingMultipleNestedContainersWithTheSameTopLevelKey()
}
}
PropertyListEncoderTests.test("testEncodingConflictedTypeNestedContainersWithTheSameTopLevelKey") {
expectCrash() {
TestPropertyListEncoder().testEncodingConflictedTypeNestedContainersWithTheSameTopLevelKey()
Expand Down

0 comments on commit 003290c

Please sign in to comment.