Skip to content

Conversation

@natecook1000
Copy link
Member

No description provided.

@natecook1000 natecook1000 requested a review from milseman October 20, 2021 02:17
@natecook1000 natecook1000 marked this pull request as draft October 20, 2021 02:18
@milseman
Copy link
Member

🥳

We'll definitely want to sneak this into a pitch sometime.

@natecook1000 natecook1000 marked this pull request as ready for review October 20, 2021 16:18
@natecook1000 natecook1000 merged commit 9fe5a89 into swiftlang:main Oct 20, 2021
@natecook1000 natecook1000 deleted the all_scalars branch October 20, 2021 16:20
@rxwei
Copy link
Contributor

rxwei commented Oct 24, 2021

Did this patch pass CI? There's a test failure on main.

/home/buildnode/jenkins/workspace/pr-swift-experimental-string-processing-linux/branch-main/swift-experimental-string-processing/Tests/UtilTests/AllScalarsTests.swift:27: error: AllScalarsTests.testProperties : XCTAssertEqual failed: ("650") is not equal to ("630") -  19:17:19 /home/buildnode/jenkins/workspace/pr-swift-experimental-string-processing-linux/branch-main/swift-experimental-string-processing/Tests/UtilTests/AllScalarsTests.swift:32: error: AllScalarsTests.testProperties : XCTAssertEqual failed: ("2925.0") is not equal to ("2835.0") -  19:17:19 Test Case 'AllScalarsTests.testProperties' failed (1.537 seconds) 19:17:19 Test Suite 'AllScalarsTests' failed at 2021-10-23 02:17:15.794 19:17:19 Executed 1 test, with 2 failures (0 unexpected) in 1.537 (1.537) seconds 19:17:19 Test Suite 'Selected tests' failed at 2021-10-23 02:17:15.794 19:17:19 Executed 1 test, with 2 failures (0 unexpected) in 1.537 (1.537) seconds 19:17:19 Build step 'Execute shell' marked build as failure
@natecook1000
Copy link
Member Author

natecook1000 commented Oct 24, 2021

Works on my machine™! Those test results could easily be dependent on Unicode version... I'll change them to just test stable things, sorry about that!

@natecook1000
Copy link
Member Author

@rxwei This should be fixed now, via a0acdec.

@milseman
Copy link
Member

We could phrase that concern as a Unicode.Scalar.allScalars.filter { $.properties.age ... }, then we have same testing paths everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants