XCTAssertEqual is failing with String

Originator:konstantin.koval1
Number:rdar://19343334 Date Originated:24-Dec-2014 07:56 PM
Status:Closed Resolved:16-Jul-2015 11:19 PM
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2006)
Classification:Feature (New) Reproducible:Always
 
Summary:

XCTAssertEqual is not working correctly with generic types 
XCTAssertEqual("10", "10") - show failure

Steps to Reproduce:
1) Checkout My this project 
https://github.com/konstantinkoval/QueryKit/commit/ef24eb07a1329c91693a56a0b5b1ae35a938b7e0

2) Run test for iOS target
3) XCTAssertEqual that takes 2 string are failing

Expected Results:
XCTAssertEqual should call correct equal methods on strings

Notes. 
Test are working correctly with OSX target

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!