Periodic go-fmt-ing.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2019-10-07 10:33:11 +01:00 committed by GitHub
parent 58a17b97a1
commit 997f079b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -19,9 +19,9 @@ var DefaultMsgAcceptFunc MsgAcceptFunc = defaultMsgAcceptFunc
type MsgAcceptAction int type MsgAcceptAction int
const ( const (
MsgAccept MsgAcceptAction = iota // Accept the message MsgAccept MsgAcceptAction = iota // Accept the message
MsgReject // Reject the message with a RcodeFormatError MsgReject // Reject the message with a RcodeFormatError
MsgIgnore // Ignore the error and send nothing back. MsgIgnore // Ignore the error and send nothing back.
MsgRejectNotImplemented // Reject the message with a RcodeNotImplemented MsgRejectNotImplemented // Reject the message with a RcodeNotImplemented
) )

View File

@ -144,7 +144,6 @@ func TestCrashNSEC3(t *testing.T) {
} }
} }
// TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes. // TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes.
func TestNewRRCommentLengthCrasherString(t *testing.T) { func TestNewRRCommentLengthCrasherString(t *testing.T) {
tests := []struct { tests := []struct {