Skip to content

Commit

Permalink
fix_: udp notifier test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
clauxx committed Jan 24, 2025
1 parent 8b84bbf commit 97bb360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/pairing/peers/udp_notifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (s *UDPPeerDiscoverySuite) TestUDPNotifier() {
s.Require().NotEmpty(tsl.log)

for _, address := range tsl.log {
s.Require().GreaterOrEqual(address, 1)
s.Require().GreaterOrEqual(len(address), 1)
for device := range address {
if !(device == n1 || device == n2) {
s.Require().Failf("unknown device name", device)
Expand Down

0 comments on commit 97bb360

Please sign in to comment.