Permalink
Browse files

Check that the sample configuration parses

  • Loading branch information...
abh committed Dec 12, 2016
1 parent 24d32f6 commit 2d4d676ce9a8c8c1b31e6fddde398cf36b5f2baf
Showing with 11 additions and 0 deletions.
  1. +11 −0 config_test.go
@@ -0,0 +1,11 @@
package main

import "testing"

func TestConfig(t *testing.T) {
// check that the sample config parses
err := configReader("dns/geodns.conf.sample")
if err != nil {
t.Fatalf("Could not read config: %s", err)
}
}

0 comments on commit 2d4d676

Please sign in to comment.