diff options
author | 2019-01-29 23:21:19 +0800 | |
---|---|---|
committer | 2019-01-29 10:21:19 -0500 | |
commit | 0eff7f37979533d079528e3618e26a16bc33136e (patch) | |
tree | 3e6ed1ee1bd7af4934ad236068a7acb8b4b62b0b /plugin/errors/errors_test.go | |
parent | a84c26d78b45e63d13903a888b8c693d0daea9f0 (diff) | |
download | coredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.gz coredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.zst coredns-0eff7f37979533d079528e3618e26a16bc33136e.zip |
some typo fix (#2512)
Signed-off-by: yeya24 <ben.ye@daocloud.io>
Diffstat (limited to 'plugin/errors/errors_test.go')
-rw-r--r-- | plugin/errors/errors_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/errors/errors_test.go b/plugin/errors/errors_test.go index 9265d3fc2..704c132ed 100644 --- a/plugin/errors/errors_test.go +++ b/plugin/errors/errors_test.go @@ -78,7 +78,7 @@ func TestConsLogger(t *testing.T) { consLogger(5, "^Error.*!$", 3*time.Second) - exp := "[ERROR] plugin/errors: 5 errors like '^Error.*!$' occured in last 3s" + exp := "[ERROR] plugin/errors: 5 errors like '^Error.*!$' occurred in last 3s" act := buf.String() if !strings.Contains(act, exp) { t.Errorf("Unexpected log message, expected to contain %q, actual %q", exp, act) |