We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a1a32c + 63f90fe commit 399afd1Copy full SHA for 399afd1
test/Interop/Cxx/stdlib/use-std-map.swift
@@ -2,8 +2,7 @@
2
//
3
// REQUIRES: executable_test
4
5
-// REQUIRES: OS=macosx
6
-// TODO: enable on Linux (rdar://105220600)
+// REQUIRES: OS=macosx || OS=linux-gnu
7
8
import StdlibUnittest
9
import StdMap
@@ -32,6 +31,7 @@ StdMapTestSuite.test("Map.subscript") {
32
31
expectNil(m[5])
33
}
34
+#if !os(Linux) // TODO: enable on Linux (rdar://105220600)
35
StdMapTestSuite.test("UnorderedMap.subscript") {
36
// This relies on the `std::unordered_map` conformance to `CxxDictionary` protocol.
37
var m = initUnorderedMap()
@@ -41,5 +41,6 @@ StdMapTestSuite.test("UnorderedMap.subscript") {
41
expectNil(m[-1])
42
43
44
+#endif
45
46
runAllTests()
0 commit comments