Skip to content

Commit 91269b7

Browse files
committed
fix sample array for testing
1 parent 308cc5b commit 91269b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

TestFoundation/TestNSArray.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ class TestNSArray : XCTestCase {
796796
}
797797

798798
func test_customMirror() {
799-
let inputArray = ["this", "is", "a", "test", "of", "copy", "with", "strings"]
799+
let inputArray = ["this", "is", "a", "test", "of", "custom", "mirror"]
800800
let array = NSArray(array: inputArray)
801801
let arrayMirror = array.customMirror
802802
dump(arrayMirror.children)
@@ -808,7 +808,6 @@ class TestNSArray : XCTestCase {
808808
XCTAssertEqual(array[4] as! String, arrayMirror.descendant(4) as! String)
809809
XCTAssertEqual(array[5] as! String, arrayMirror.descendant(5) as! String)
810810
XCTAssertEqual(array[6] as! String, arrayMirror.descendant(6) as! String)
811-
XCTAssertEqual(array[7] as! String, arrayMirror.descendant(7) as! String)
812811
}
813812

814813
private func createTestFile(_ path: String, _contents: Data) -> String? {

0 commit comments

Comments
 (0)