From ffcd2b1fc8cf44c6eeee093c35fa7af35dde8bd9 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 b008846fc7..fb944d66d2 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") }