mirror of https://github.com/0xERR0R/blocky.git
21 lines
368 B
Go
21 lines
368 B
Go
package querylog
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo/v2"
|
|
)
|
|
|
|
var _ = Describe("NoneWriter", func() {
|
|
Describe("NoneWriter", func() {
|
|
When("write is called", func() {
|
|
It("should do nothing", func() {
|
|
NewNoneWriter().Write(nil)
|
|
})
|
|
})
|
|
When("cleanUp is called", func() {
|
|
It("should do nothing", func() {
|
|
NewNoneWriter().CleanUp()
|
|
})
|
|
})
|
|
})
|
|
})
|