mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
submitter's regret. rename Props to Properties
R=rsc DELTA=9 (0 added, 0 deleted, 9 changed) OCL=34148 CL=34151
This commit is contained in:
parent
f0492f4e27
commit
fe3838489f
3 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue