From aa8f4fe117ab15dc1f49a136195a9a9730fbe9d3 Mon Sep 17 00:00:00 2001 From: Dominik Roos Date: Mon, 13 May 2024 18:00:55 +0200 Subject: [PATCH] fix --- dispatcher/internal/registration/udptable_test.go | 4 ++-- nogo.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dispatcher/internal/registration/udptable_test.go b/dispatcher/internal/registration/udptable_test.go index 737d8bfcd4..00a669291c 100644 --- a/dispatcher/internal/registration/udptable_test.go +++ b/dispatcher/internal/registration/udptable_test.go @@ -126,7 +126,7 @@ func TestUDPPortTableInsert(t *testing.T) { _, lookupOk := table.Lookup(address) SoMsg("err", err, ShouldBeNil) SoMsg("address content", retAddress, ShouldResemble, address) - SoMsg("address not same object", retAddress, ShouldNotEqual, address) + SoMsg("address not same object", retAddress, ShouldNotPointTo, address) SoMsg("lookup ok", lookupOk, ShouldBeTrue) }) Convey("Inserting an IPv4 address with a 0 port returns an allocated port", @@ -146,7 +146,7 @@ func TestUDPPortTableInsert(t *testing.T) { _, lookupOk := table.Lookup(address) SoMsg("err", err, ShouldBeNil) SoMsg("address content", retAddress, ShouldResemble, address) - SoMsg("address not same object", retAddress, ShouldNotEqual, address) + SoMsg("address not same object", retAddress, ShouldNotPointTo, address) SoMsg("lookup ok", lookupOk, ShouldBeTrue) }) Convey("Inserting an IPv6 address with a 0 port returns an allocated port", diff --git a/nogo.json b/nogo.json index 0f244b50e9..f5a358ddae 100644 --- a/nogo.json +++ b/nogo.json @@ -164,7 +164,8 @@ "reflectvaluecompare": { "exclude_files": { "in_gopkg_yaml_v2": "", - "com_github_smartystreets_assertions": "" + "com_github_smartystreets_assertions": "", + "/com_github_smarty_assertions": "" } }, "shadow": {