Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oncilla authored and matzf committed May 14, 2024
1 parent f90c598 commit aa8f4fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dispatcher/internal/registration/udptable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion nogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@
"reflectvaluecompare": {
"exclude_files": {
"in_gopkg_yaml_v2": "",
"com_github_smartystreets_assertions": ""
"com_github_smartystreets_assertions": "",
"/com_github_smarty_assertions": ""
}
},
"shadow": {
Expand Down

0 comments on commit aa8f4fe

Please sign in to comment.