Skip to content

Commit

Permalink
fix basic enable/disabled test
Browse files Browse the repository at this point in the history
  • Loading branch information
mapl committed Oct 17, 2024
1 parent 547e366 commit e6c14f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/sudn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ var _ = Describe("SUDNConfig", func() {

When("enabled", func() {
It("should be true", func() {
cfg := SUDN{
Enable: true,
}
Expect(cfg.IsEnabled()).Should(BeTrue())
})
})

When("disabled", func() {
It("should be false", func() {
cfg := SUDN{
Enable: false,
}
Expect(cfg.IsEnabled()).Should(BeFalse())
})
})
Expand Down

0 comments on commit e6c14f8

Please sign in to comment.