mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -21,9 +21,9 @@ import (
|
||||
|
||||
func TestCreateKey(t *testing.T) {
|
||||
c := qt.New(t)
|
||||
m := make(map[interface{}]bool)
|
||||
m := make(map[any]bool)
|
||||
|
||||
create := func(name string, variants ...interface{}) partialCacheKey {
|
||||
create := func(name string, variants ...any) partialCacheKey {
|
||||
k, err := createKey(name, variants...)
|
||||
c.Assert(err, qt.IsNil)
|
||||
m[k] = true
|
||||
|
||||
Reference in New Issue
Block a user