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 154f744 commit 1b1cc1dCopy full SHA for 1b1cc1d
Tests/PythonKitTests/PythonRuntimeTests.swift
@@ -20,7 +20,7 @@ class PythonRuntimeTests: XCTestCase {
20
XCTAssertEqual(1.5, polymorphicList[3])
21
XCTAssertEqual(1.5, polymorphicList[-1])
22
23
- XCTAssertEqual(4, polymorphicList.count)
+ XCTAssertEqual(4, polymorphicList.count as Int)
24
XCTAssertEqual(4, polymorphicList.checking.count!)
25
XCTAssertEqual(4, polymorphicList.throwing.count!)
26
@@ -35,7 +35,7 @@ class PythonRuntimeTests: XCTestCase {
35
XCTAssertEqual(1, dict["a"])
36
XCTAssertEqual(0.5, dict[1])
37
38
- XCTAssertEqual(2, dict.count)
+ XCTAssertEqual(2, dict.count as Int)
39
XCTAssertEqual(2, dict.checking.count!)
40
XCTAssertEqual(2, dict.throwing.count!)
41
0 commit comments