Commit Graph
16 Commits
Author SHA1 Message Date
Lee Sang GyuandDuDaoDong d561d4da77 fix(package): [promise] recover a panic after the promise settled (#420)
* fix(package): [promise] recover a panic after the promise settled

* test(package): [promise] cover a panic after the promise settled

---------

Co-authored-by: DuDaoDong <dudaodong@gmail.com>
2026-11-09 19:51:25 +08:00
Lee Sang Gyu ed237c18b3 fix(package): [strutil] handle non-ASCII letters in case conversion (#413)
* fix(package): [strutil] handle non-ASCII letters in case conversion

* test(package): [strutil] cover non-ASCII letters in case conversion
2026-11-09 17:38:17 +08:00
Lee Sang Gyu 4c9c628a31 fix(package): [mathutil] compute Combination without factorial overflow (#414)
* fix(package): [mathutil] compute Combination without factorial overflow

* test(package): [mathutil] cover Combination for large n
2026-11-09 17:37:55 +08:00
Lee Sang Gyu 5839ab33a9 fix(package): [datetime] use local zone for zero hour timestamps (#415)
* fix(package): [datetime] use local zone for zero hour timestamps

* test(package): [datetime] cover zero hour timestamps in other zones
2026-11-09 17:37:13 +08:00
Lee Sang Gyu b09d6af4a4 fix(package): [concurrency] hold the map lock while taking the try lock (#417)
* fix(package): [concurrency] hold the map lock while taking the try lock

* test(package): [concurrency] check TryKeyedLocker mutual exclusion
2026-11-09 17:36:58 +08:00
Lee Sang Gyu d859b91c57 fix(package): [eventbus] let listeners change subscriptions in Publish (#416)
* fix(package): [eventbus] let listeners change subscriptions in Publish

* test(package): [eventbus] cover reentrant and concurrent subscribe
2026-11-09 17:17:31 +08:00
Lee Sang Gyu 6eb12896e3 fix(package): [maputil] keep ToMarkdownTable column order stable (#418)
* fix(package): [maputil] keep ToMarkdownTable column order stable

* test(package): [maputil] cover ToMarkdownTable default column order
2026-11-09 17:11:21 +08:00
Lee Sang Gyu 0112b99cd9 fix(package): [formatter] only group leading digits in Comma (#419)
* fix(package): [formatter] only group leading digits in Comma

* test(package): [formatter] cover Comma with exponent and suffixes
2026-11-09 12:34:27 +08:00
Lee Sang Gyu 961a76b6d4 fix(package): [promise] keep every error when Any rejects (#421)
* fix(package): [promise] keep every error when Any rejects

* test(package): [promise] cover errors kept by Any
2026-11-09 12:31:40 +08:00
Lee Sang Gyu c403dd3a2a fix(package): [concurrency] stop Take when the source closes (#424)
* fix(package): [concurrency] stop Take when the source closes

* test(package): [concurrency] cover Take with closed and idle source
2026-11-09 12:30:17 +08:00
Lee Sang Gyu b4302b2d15 fix(package): [system] keep the whole command name in GetProcessInfo (#426)
* fix(package): [system] keep the whole command name in GetProcessInfo

* test(package): [system] cover a command name with spaces
2026-11-09 12:30:04 +08:00
Lee Sang Gyu 1715d14cc8 fix(package): [retry] use a bit shift only for power-of-two backoff bases (#427)
* fix(package): [retry] use a bit shift only for power-of-two backoff bases

* test(package): [retry] cover the multiplier of even backoff bases
2026-11-09 12:28:54 +08:00
Lee Sang Gyu 0eabb67ed4 fix(xerror): [xerror] drop leading ": " when message is empty (#423)
* fix(xerror): [xerror] drop leading ": " when message is empty

* test(xerror): [xerror] cover Wrap without a message
2026-11-09 12:27:37 +08:00
Lee Sang Gyu afc0d3c676 fix(package): [stream] do not call less with a zero value in Max and Min (#422)
* fix(package): [stream] do not call less with a zero value in Max and Min

* test(package): [stream] cover Max and Min with pointer items
2026-11-09 12:27:08 +08:00
Lee Sang Gyu 9c56f5f525 fix(package): [formatter] use the next byte unit when rounding hits base (#425)
* fix(package): [formatter] use the next byte unit when rounding hits base

* test(package): [formatter] cover byte unit rollover on rounding
2026-11-09 12:26:44 +08:00
Lee Sang Gyu 285e69edd7 fix(package): [promise] buffer the settle channels of All, Race and Any (#428)
* fix(package): [promise] buffer the settle channels of All, Race and Any

* test(package): [promise] check that All, Race and Any leave no goroutines
2026-11-09 12:26:13 +08:00