Skip to content

Commit 1c087ad

Browse files
committed
test: update ABI checker test
1 parent 2954fad commit 1c087ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/APIDigesterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class APIDigesterTests: XCTestCase {
209209
let baseline = try localFileSystem.readFileContents(path.appending(component: "foo.api.json"))
210210
try baseline.withData {
211211
let json = try JSONSerialization.jsonObject(with: $0, options: []) as? [String: Any]
212-
XCTAssertEqual((json?["children"] as? [Any])?.count, 1)
212+
XCTAssertTrue((json?["children"] as? [Any])!.count >= 1)
213213
}
214214
}
215215
}

0 commit comments

Comments
 (0)