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.
1 parent acff1e2 commit 95b7463Copy full SHA for 95b7463
TestFoundation/TestNSDictionary.swift
@@ -134,6 +134,24 @@ class TestNSDictionary : XCTestCase {
134
135
XCTAssertFalse(dict1.isEqual(nil))
136
XCTAssertFalse(dict1.isEqual(NSObject()))
137
+
138
+ let nestedDict1 = NSDictionary(dictionary: [
139
+ "key.entities": [
140
+ ["key": 0]
141
+ ]
142
+ ])
143
+ let nestedDict2 = NSDictionary(dictionary: [
144
145
+ ["key": 1]
146
147
148
+ XCTAssertFalse(nestedDict1 == nestedDict2)
149
+ XCTAssertFalse(nestedDict1.isEqual(nestedDict2))
150
+ XCTAssertFalse(nestedDict1.isEqual(to: [
151
152
153
154
+ ]))
155
}
156
157
func test_copying() {
0 commit comments