aboutsummaryrefslogtreecommitdiff
path: root/test/corefile_test.go
blob: 1f08ab2f1211c615ab68c11412acf8ff07219473 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package test

import (
	"testing"
)

func TestCorefile1(t *testing.T) {
	corefile := 
acl
`
	// this crashed, now it should return an error.
	i, _, _, err := CoreDNSServerAndPorts(corefile)
	if err == nil {
		defer i.Stop()
		t.Fatalf("Expected an error got none")
	}
}