From 4885ce53ef5385fdd39f695ddbbd18426e2e8752 Mon Sep 17 00:00:00 2001 From: Sebastian Mancke Date: Thu, 17 Aug 2017 10:03:34 +0200 Subject: [PATCH] fixed list comparision --- oauth2/provider_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth2/provider_test.go b/oauth2/provider_test.go index e2a4776..fc9f013 100644 --- a/oauth2/provider_test.go +++ b/oauth2/provider_test.go @@ -16,6 +16,6 @@ func Test_ProviderRegistration(t *testing.T) { list := ProviderList() Equal(t, 2, len(list)) - Equal(t, "github", list[0]) - Equal(t, "google", list[1]) + Contains(t, list, "github") + Contains(t, list, "google") }