summaryrefslogtreecommitdiff
path: root/admin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'admin_test.go')
-rw-r--r--admin_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin_test.go b/admin_test.go
index f64df75..d53988b 100644
--- a/admin_test.go
+++ b/admin_test.go
@@ -115,7 +115,7 @@ func TestUnsyncedConfigAccess(t *testing.T) {
}
// decode the expected config so we can do a convenient DeepEqual
- var expectedDecoded interface{}
+ var expectedDecoded any
err = json.Unmarshal([]byte(tc.expect), &expectedDecoded)
if err != nil {
t.Fatalf("Test %d: Unmarshaling expected config: %v", i, err)