maxkramer / SwiftLuhn

Debit/Credit card validation port of the Luhn Algorithm in Swift
MIT License
135 stars 27 forks source link

`stringValue()` for dinerClub card returns "Diner\'s Club" instead "Diner's Club" #13

Closed dhvlshah88 closed 5 years ago

dhvlshah88 commented 6 years ago

The issue is as explained above, Diner's Club needs to have escaped character '\' to return a normal string literal.

maxkramer commented 6 years ago

@dhvlshah88 thanks for the issue, sorry it's taken this long to get to it. As you can see in the test, I can't replicate this issue. Do you have any additional information?