Skip to content

Commit 6023693

Browse files
committed
fix lint
1 parent 68b029b commit 6023693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/gatewayapi/httproute.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,11 +525,11 @@ spec:
525525

526526
serviceResources, err := s.DefaultDataplaneResource().Service().List(context.Background())
527527
Expect(err).NotTo(HaveOccurred(), "listing services")
528-
Expect(len(serviceResources)).To(Equal(1))
528+
Expect(serviceResources).To(HaveLen(1), "checking service length")
529529

530530
serviceResource := serviceResources[0]
531531
nodes := serviceResource.Upstream.Nodes
532-
Expect(len(nodes)).To(Equal(1))
532+
Expect(nodes).To(HaveLen(1), "checking nodes length")
533533
Expect(nodes[0].Port).To(Equal(80))
534534
})
535535
})

0 commit comments

Comments
 (0)