Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jersey partial formatter number issue #792

Closed
4 tasks done
lucas-kummerle-perger opened this issue Aug 8, 2024 · 0 comments · Fixed by #799
Closed
4 tasks done

Jersey partial formatter number issue #792

lucas-kummerle-perger opened this issue Aug 8, 2024 · 0 comments · Fixed by #799

Comments

@lucas-kummerle-perger
Copy link

New Issue Checklist

Steps to reproduce

A test similar to ours that used to pass in version 3.7.7 but is failing on 3.8.0:

let partialFormatter = PartialFormatter(phoneNumberKit: PhoneNumberKit(), defaultRegion: "JE", withPrefix: false)
var testNumber = "078297"
XCTAssertEqual(partialFormatter.formatPartial(testNumber), "7829 7")
Expected result

Formatted number equals "7829 7"

Actual result

Formatted number equals ""

Environment

Running tests within the PartialFormatterTests of this repo

bguidolim added a commit that referenced this issue Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant