You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test below works fine on version 1.0.0, but fails on version 1.0.1 and 1.0.2 (it returns NOT_A_NUMBER instead of EXACT_MATCH).
let formatter = NBPhoneNumberUtil()
let number = "+16508636853"
let result = formatter.isNumberMatch(number, second: number, error: nil)
XCTAssertEqual(result, .EXACT_MATCH)
On my digging, I found out that this line of code is returning nil on NormalizeNonBreakingSpace(numberToParse). I wasn't able to figure out why... =/
The test below works fine on version 1.0.0, but fails on version 1.0.1 and 1.0.2 (it returns
NOT_A_NUMBER
instead ofEXACT_MATCH
).On my digging, I found out that this line of code is returning
nil
onNormalizeNonBreakingSpace(numberToParse)
. I wasn't able to figure out why... =/libPhoneNumber-iOS/libPhoneNumber/NBPhoneNumberUtil.m
Line 3602 in 8efc8d1
The text was updated successfully, but these errors were encountered: