Commit Graph

5 Commits

Author SHA1 Message Date
Xiaodi Wu
9ef5ed066b [SR-14424] Add 'moveInitialize' test case for small string 'init(unsafeUninitializedCapacity:initializingUTF8With:)' (#36742)
* [SR-14424] Add 'moveInitialize' test case for small string 'init(unsafeUninitializedCapacity:initializingUTF8With:)'

...and make an adjustment to an existing test case.

* [stdlib][test] Update test cases for small string unsafeUninitializedCapacity based on reviewer feedback.

* [fixup]
2021-04-04 15:16:20 -04:00
Michael Ilseman
49eddbf318 [stdlib] Fix bug in small string uninitialized init
Fix a bug and enforce the invariant that all bits between the last code unit
and the descriminator in a small string should be unset.
2021-03-30 18:24:28 -06:00
Mishal Shah
272c466e47 Update master to build with Xcode 12 beta 2020-06-22 15:43:20 -07:00
Ben Rimmington
557e5662e4 [SE-0263] Add test for public API 2020-03-05 14:51:10 +00:00
Michael Ilseman
877a20ead0 [String] Fix crash when given null UBP 2019-02-06 14:44:01 -08:00