Skip to content

Commit 2212846

Browse files
committed
Alter tests for format functions to test against ICU response of lacking numeric grouping seperators
1 parent 141270e commit 2212846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TestFoundation/TestNSString.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,13 +630,13 @@ class TestNSString : XCTestCase {
630630
withVaList(argument) {
631631
pointer in
632632
let string = NSString(format: "en_GB value is %d (%.1f)", locale: NSLocale.init(localeIdentifier: "en_GB"), arguments: pointer)
633-
XCTAssertEqual(string, "en_GB value is 1,000 (42.0)")
633+
XCTAssertEqual(string, "en_GB value is 1000 (42.0)")
634634
}
635635

636636
withVaList(argument) {
637637
pointer in
638638
let string = NSString(format: "de_DE value is %d (%.1f)", locale: NSLocale.init(localeIdentifier: "de_DE"), arguments: pointer)
639-
XCTAssertEqual(string, "de_DE value is 1.000 (42,0)")
639+
XCTAssertEqual(string, "de_DE value is 1000 (42,0)")
640640
}
641641

642642
withVaList(argument) {

0 commit comments

Comments
 (0)