Skip to content

Commit b7fa2c7

Browse files
committed
Unit test fix
1 parent 62cfb0e commit b7fa2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestFoundation/TestNSArray.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ class TestNSArray : XCTestCase {
610610
XCTAssertEqual(a2, ["one", "a", "b", "four"])
611611

612612
let a3 = NSMutableArray(arrayLiteral: "one", "two", "three", "four")
613-
a3.insert(["a", "b", "c", "d"], at: [4, 3, 2, 1])
613+
a3.replaceObjects(at: [3, 2, 1, 0], with: ["a", "b", "c", "d"])
614614
XCTAssertEqual(a3, ["a", "b", "c", "d"])
615615
}
616616

0 commit comments

Comments
 (0)