Skip to content

Commit

Permalink
another test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfenwick committed Apr 7, 2023
1 parent c4fb106 commit 72df7bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kube/read_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ func RunReadNetworkPolicyTests() {
policies, err := ReadNetworkPoliciesFromPath("../../networkpolicies/simple-example")
Expect(err).To(BeNil())
Expect(len(policies)).To(Equal(7))

policies, err = ReadNetworkPoliciesFromPath("../../networkpolicies/")
Expect(err).To(BeNil())
Expect(len(policies)).To(Equal(14))
})

// TODO test to show what happens for duplicate names
Expand Down

0 comments on commit 72df7bf

Please sign in to comment.