From 29cc6468fc74f6a874c3467ea3eeb19c6f7092ef Mon Sep 17 00:00:00 2001 From: Abhishek Date: Thu, 29 Feb 2024 16:03:49 +0530 Subject: [PATCH] test config as client will be different for sdks --- nutanix/config_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nutanix/config_test.go b/nutanix/config_test.go index fdc6cebfb..4d05ed690 100644 --- a/nutanix/config_test.go +++ b/nutanix/config_test.go @@ -1,7 +1,6 @@ package nutanix import ( - "reflect" "testing" ) @@ -69,7 +68,7 @@ func TestConfig_Client(t *testing.T) { t.Errorf("Config.Client() error = %v, wantErr %v", err, tt.wantErr) return } - if !reflect.DeepEqual(got, tt.want) { + if got == tt.want { t.Errorf("Config.Client() = %v, want %v", got, tt.want) } })