diff options
| author | Marcel van Lohuizen <mpvl@golang.org> | 2017-09-15 16:18:01 +0200 |
|---|---|---|
| committer | Marcel van Lohuizen <mpvl@golang.org> | 2017-10-24 12:42:35 +0000 |
| commit | 2fd9549797e362acf40e3b5f17ae916951c7cccc (patch) | |
| tree | b171f365bc4e0dc1548d13ec9e3396b25f7f9046 /src/unicode/script_test.go | |
| parent | 8c532f5fc457642e0067017dc0701e7a8ee63bb2 (diff) | |
| download | go-2fd9549797e362acf40e3b5f17ae916951c7cccc.tar.xz | |
unicode: update to Unicode 10.0.0
Also includes all derived values as well as
vendored packages.
Generated by running
UNICODE_VERSION=10.0.0 go generate
in golang.org/x/text
and modified by hand to add the tests and
entries in next.txt for new script and properties.
Closes Issue #21471
Change-Id: I1d10ee3887bd1fd3d5a756ee0d04bd6ec2814ba1
Reviewed-on: https://go-review.googlesource.com/63953
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'src/unicode/script_test.go')
| -rw-r--r-- | src/unicode/script_test.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/unicode/script_test.go b/src/unicode/script_test.go index 1fe4581e6c..7d760fc5e3 100644 --- a/src/unicode/script_test.go +++ b/src/unicode/script_test.go @@ -14,8 +14,13 @@ type T struct { script string } -// Hand-chosen tests from Unicode 5.1.0, 6.0.0, 6.2.0, 6.3.0, 7.0.0 and 8.0.0 +// Hand-chosen tests from Unicode 5.1.0, 6.0.0, 6.2.0, 6.3.0, 7.0.0, 8.0.0, +// 9.0.0, 10.0.0. // mostly to discover when new scripts and categories arise. +// If this tests fails, add the missing scripts to the test and add entries +// of the form +// pkg unicode, var <new script> *RangeTable +// to api/next.txt. var inTest = []T{ {0x11711, "Ahom"}, {0x1e900, "Adlam"}, @@ -92,6 +97,7 @@ var inTest = []T{ {0x0843, "Mandaic"}, {0x10ac8, "Manichaean"}, {0x11cB6, "Marchen"}, + {0x11d59, "Masaram_Gondi"}, {0xabd0, "Meetei_Mayek"}, {0x1e800, "Mende_Kikakui"}, {0x1099f, "Meroitic_Hieroglyphs"}, @@ -106,6 +112,7 @@ var inTest = []T{ {0x11400, "Newa"}, {0x19c3, "New_Tai_Lue"}, {0x07f8, "Nko"}, + {0x1b170, "Nushu"}, {0x169b, "Ogham"}, {0x1c6a, "Ol_Chiki"}, {0x10C80, "Old_Hungarian"}, @@ -134,6 +141,7 @@ var inTest = []T{ {0x1D920, "SignWriting"}, {0x0dbd, "Sinhala"}, {0x110d0, "Sora_Sompeng"}, + {0x11a99, "Soyombo"}, {0x1ba3, "Sundanese"}, {0xa803, "Syloti_Nagri"}, {0x070f, "Syriac"}, @@ -155,6 +163,7 @@ var inTest = []T{ {0xa60e, "Vai"}, {0x118ff, "Warang_Citi"}, {0xa216, "Yi"}, + {0x11a0a, "Zanabazar_Square"}, } var outTest = []T{ // not really worth being thorough @@ -229,6 +238,7 @@ var inPropTest = []T{ {0x06DD, "Prepended_Concatenation_Mark"}, {0x300D, "Quotation_Mark"}, {0x2EF3, "Radical"}, + {0x1f1ff, "Regional_Indicator"}, {0x061F, "STerm"}, // Deprecated alias of Sentence_Terminal {0x061F, "Sentence_Terminal"}, {0x2071, "Soft_Dotted"}, |
