From 25860a0718dcff6529d63bd4c586f5013d33caec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E8=BF=9C?= Date: Wed, 9 Aug 2017 14:21:21 +0800 Subject: [PATCH] fix UnitTest in acl --- acl/acl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acl/acl_test.go b/acl/acl_test.go index b008846fc..fb944d66d 100644 --- a/acl/acl_test.go +++ b/acl/acl_test.go @@ -31,7 +31,7 @@ func TestStaticACL(t *testing.T) { } manage := ManageAll() - if _, ok := none.(*StaticACL); !ok { + if _, ok := manage.(*StaticACL); !ok { t.Fatalf("expected static") }