From 02b2adb9be068315958c19876417781bdd5b137e Mon Sep 17 00:00:00 2001 From: purplenicole730 Date: Thu, 21 Nov 2024 18:48:02 -0500 Subject: [PATCH] actually test if clients are the same --- app/viam_client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/viam_client_test.go b/app/viam_client_test.go index e644d5dbda2..51a624371cd 100644 --- a/app/viam_client_test.go +++ b/app/viam_client_test.go @@ -144,7 +144,7 @@ func TestNewAppClients(t *testing.T) { // Testing that a second call to DataClient() returns the same instance dataClient2 := client.DataClient() test.That(t, dataClient2, test.ShouldNotBeNil) - test.That(t, dataClient, test.ShouldResemble, dataClient2) + test.That(t, dataClient, test.ShouldEqual, dataClient2) appClient := client.AppClient() test.That(t, appClient, test.ShouldNotBeNil) @@ -154,5 +154,5 @@ func TestNewAppClients(t *testing.T) { // Testing that a second call to AppClient() returns the same instance appClient2 := client.AppClient() test.That(t, appClient2, test.ShouldNotBeNil) - test.That(t, appClient, test.ShouldResemble, appClient2) + test.That(t, appClient, test.ShouldEqual, appClient2) }