mirror of
https://github.com/miekg/dns.git
synced 2025-12-16 09:11:34 +01:00
Run gofmt (#1024)
Periodic go-fmt-ing. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
parent
58a17b97a1
commit
997f079b75
@ -19,9 +19,9 @@ var DefaultMsgAcceptFunc MsgAcceptFunc = defaultMsgAcceptFunc
|
||||
type MsgAcceptAction int
|
||||
|
||||
const (
|
||||
MsgAccept MsgAcceptAction = iota // Accept the message
|
||||
MsgReject // Reject the message with a RcodeFormatError
|
||||
MsgIgnore // Ignore the error and send nothing back.
|
||||
MsgAccept MsgAcceptAction = iota // Accept the message
|
||||
MsgReject // Reject the message with a RcodeFormatError
|
||||
MsgIgnore // Ignore the error and send nothing back.
|
||||
MsgRejectNotImplemented // Reject the message with a RcodeNotImplemented
|
||||
)
|
||||
|
||||
|
||||
@ -144,7 +144,6 @@ func TestCrashNSEC3(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes.
|
||||
func TestNewRRCommentLengthCrasherString(t *testing.T) {
|
||||
tests := []struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user