Factor out testing error checks

This commit is contained in:
Bryan Boreham committed 2014-10-22 16:52:35 +01:00
1 parent 156314a802
commit d84226cc31
5 files changed
+23 -42

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package weavedns
import (
"testing"
)
func assertNoErr(t *testing.T, err error) {
if err != nil {
t.Fatal(err)
}
}