auth: clean up range_perm_cache.go

This commit is contained in:
Xiang Li
2016-06-10 15:21:04 -07:00
parent 65abcc1a59
commit 77efe4cda9
2 changed files with 17 additions and 19 deletions

View File

@ -88,7 +88,7 @@ func TestUnifyParams(t *testing.T) {
}
for i, tt := range tests {
result := unifyPerms(tt.params)
result := mergeRangePerms(tt.params)
if !isPermsEqual(result, tt.want) {
t.Errorf("#%d: result=%q, want=%q", i, result, tt.want)
}