From dd39dfb534d2badf1bb2d72d98bb13cad991fda2 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 17 Jan 2026 09:55:10 -0500 Subject: all: update to Unicode 17 Process: - Disable unicode TestProperties. - Run UNICODE_VERSION=17.0.0 go -C ../src/golang.org/x/text generate - Run go generate strconv - Update unicode TestProperties by hand to add missing test cases. This will break x/text using the main repo until the corresponding x/text CL is submitted. It should not break anything else. For #77266. Change-Id: Ia3ffb5a81e212b991714eef70eebfca98a0c8aab Reviewed-on: https://go-review.googlesource.com/c/go/+/737420 Reviewed-by: Rob Pike Reviewed-by: Roland Shoemaker TryBot-Bypass: Russ Cox --- src/unicode/script_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/unicode/script_test.go') diff --git a/src/unicode/script_test.go b/src/unicode/script_test.go index 3ae2800426..5339c5ac48 100644 --- a/src/unicode/script_test.go +++ b/src/unicode/script_test.go @@ -94,6 +94,10 @@ var inPropTest = []T{ {0x9FC3, "Unified_Ideograph"}, {0xFE0F, "Variation_Selector"}, {0x0020, "White_Space"}, + {0x221e, "ID_Compat_Math_Start"}, + {0x06e3, "Modifier_Combining_Mark"}, + {0x2080, "ID_Compat_Math_Continue"}, + {0x2ffe, "IDS_Unary_Operator"}, } func TestCategories(t *testing.T) { -- cgit v1.3