Commit 7ee55e3
fix: make formatNumber test resilient to ICU version differences
The de-CH locale thousands separator character varies across ICU
versions (U+2019 in ICU 77, different in ICU 78.2). Use a regex
match instead of exact codepoint comparison.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2bd16f7 commit 7ee55e3
File tree
1 file changed
+1
-3
lines changed- packages/twenty-front/src/utils/format/__tests__
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| |||
0 commit comments