Skip to content

Commit 0c1ffb1

Browse files
author
Ikko Eltociear Ashimine
authored
Fix typo in runtime-polymorphism.swift
comparision -> comparison
1 parent d6f9401 commit 0c1ffb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/inheritance/runtime-polymorphism.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PolymorphismTestSuite.test("Call overridden methods with pointer to base type")
1616
let shape = MakeShape()
1717

1818
// DOES NOT WORK: executes the Shape implementation, not the Rectangle
19-
// version, and thus fails the comparision (0 != 4)
19+
// version, and thus fails the comparison (0 != 4)
2020
// Filed as https://github.com/apple/swift/issues/62354.
2121
expectEqual(shape!.pointee.NumberOfSides(), 4)
2222
}

0 commit comments

Comments
 (0)