summaryrefslogtreecommitdiff
path: root/src/pkg/unicode/script_test.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-08-31 16:48:56 -0700
committerRob Pike <r@golang.org>2009-08-31 16:48:56 -0700
commitf997fde749b233ee96247b7b4147544e465298bf (patch)
treef4e02124e2e3039e37655823dfa0023ba5f4b939 /src/pkg/unicode/script_test.go
parent846fd51b968897755c283bad32c1ede27b944be8 (diff)
downloadgolang-f997fde749b233ee96247b7b4147544e465298bf.tar.gz
submitter's regret. rename Props to Properties
R=rsc DELTA=9 (0 added, 0 deleted, 9 changed) OCL=34148 CL=34151
Diffstat (limited to 'src/pkg/unicode/script_test.go')
-rw-r--r--src/pkg/unicode/script_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/unicode/script_test.go b/src/pkg/unicode/script_test.go
index 6c7934ec8..613b569ea 100644
--- a/src/pkg/unicode/script_test.go
+++ b/src/pkg/unicode/script_test.go
@@ -212,16 +212,16 @@ func TestCategories(t *testing.T) {
}
}
-func TestProps(t *testing.T) {
+func TestProperties(t *testing.T) {
notTested := make(map[string] bool);
- for k := range Props {
+ for k := range Properties {
notTested[k] = true
}
for i, test := range inPropTest {
- if _, ok := Props[test.script]; !ok {
+ if _, ok := Properties[test.script]; !ok {
t.Fatal(test.script, "not a known prop")
}
- if !Is(Props[test.script], test.rune) {
+ if !Is(Properties[test.script], test.rune) {
t.Errorf("IsCategory(%#x, %s) = false, want true\n", test.rune, test.script);
}
notTested[test.script] = false, false