diff options
author | 2018-04-19 07:41:56 +0100 | |
---|---|---|
committer | 2018-04-19 07:41:56 +0100 | |
commit | 26d1432ae6c19c91fb6358e7629a9179a85b70f7 (patch) | |
tree | 8a9f94cf11dcebf1f079ab478d4ded4bf710c99f /plugin/tls/tls_test.go | |
parent | 2095eb7979f53618180f759d0e68e4070554870d (diff) | |
download | coredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.tar.gz coredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.tar.zst coredns-26d1432ae6c19c91fb6358e7629a9179a85b70f7.zip |
Update all plugins to use plugin/pkg/log (#1694)
* Update all plugins to use plugin/pkg/log
I wish this could have been done with sed. Alas manually changed all
callers to use the new plugin/pkg/log package.
* Error -> Info
* Add docs to debug plugin as well
Diffstat (limited to 'plugin/tls/tls_test.go')
-rw-r--r-- | plugin/tls/tls_test.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugin/tls/tls_test.go b/plugin/tls/tls_test.go index 2374d772c..0bbba18a1 100644 --- a/plugin/tls/tls_test.go +++ b/plugin/tls/tls_test.go @@ -1,8 +1,6 @@ package tls import ( - "io/ioutil" - "log" "strings" "testing" @@ -10,16 +8,14 @@ import ( ) func TestTLS(t *testing.T) { - log.SetOutput(ioutil.Discard) - tests := []struct { input string shouldErr bool expectedRoot string // expected root, set to the controller. Empty for negative cases. expectedErrContent string // substring from the expected error. Empty for positive cases. }{ - // positive - // negative + // positive + // negative } for i, test := range tests { |