aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/unicode/script_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-03-16 23:05:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-03-16 23:05:44 +0000
commit5133f00ef8baab894d92de1e8b8baae59815a8b6 (patch)
tree44176975832a3faf1626836e70c97d5edd674122 /libgo/go/unicode/script_test.go
parentf617201f55938fc89b532f2240bdf77bea946471 (diff)
downloadgcc-5133f00ef8baab894d92de1e8b8baae59815a8b6.zip
gcc-5133f00ef8baab894d92de1e8b8baae59815a8b6.tar.gz
gcc-5133f00ef8baab894d92de1e8b8baae59815a8b6.tar.bz2
Update to current version of Go library (revision 94d654be2064).
From-SVN: r171076
Diffstat (limited to 'libgo/go/unicode/script_test.go')
-rw-r--r--libgo/go/unicode/script_test.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/libgo/go/unicode/script_test.go b/libgo/go/unicode/script_test.go
index ffdc40d..ff452b7 100644
--- a/libgo/go/unicode/script_test.go
+++ b/libgo/go/unicode/script_test.go
@@ -14,7 +14,7 @@ type T struct {
script string
}
-// Hand-chosen tests from Unicode 5.1.0, mostly to discover when new
+// Hand-chosen tests from Unicode 5.1.0 & 6.0..0, mostly to discover when new
// scripts and categories arise.
var inTest = []T{
{0x06e2, "Arabic"},
@@ -22,11 +22,13 @@ var inTest = []T{
{0x10b20, "Avestan"},
{0x1b37, "Balinese"},
{0xa6af, "Bamum"},
+ {0x1be1, "Batak"},
{0x09c2, "Bengali"},
{0x3115, "Bopomofo"},
{0x282d, "Braille"},
{0x1a1a, "Buginese"},
{0x1747, "Buhid"},
+ {0x11011, "Brahmi"},
{0x156d, "Canadian_Aboriginal"},
{0x102a9, "Carian"},
{0xaa4d, "Cham"},
@@ -72,6 +74,7 @@ var inTest = []T{
{0x10290, "Lycian"},
{0x10930, "Lydian"},
{0x0d42, "Malayalam"},
+ {0x0843, "Mandaic"},
{0xabd0, "Meetei_Mayek"},
{0x1822, "Mongolian"},
{0x104c, "Myanmar"},
@@ -204,7 +207,7 @@ func TestScripts(t *testing.T) {
}
}
for k := range notTested {
- t.Error("not tested:", k)
+ t.Error("script not tested:", k)
}
}
@@ -223,7 +226,7 @@ func TestCategories(t *testing.T) {
notTested[test.script] = false, false
}
for k := range notTested {
- t.Error("not tested:", k)
+ t.Error("category not tested:", k)
}
}
@@ -242,6 +245,6 @@ func TestProperties(t *testing.T) {
notTested[test.script] = false, false
}
for k := range notTested {
- t.Error("not tested:", k)
+ t.Error("property not tested:", k)
}
}