From 91adf37050c746dc42c139d3a98e4674198555b4 Mon Sep 17 00:00:00 2001 From: SataQiu Date: Wed, 21 Nov 2018 17:36:08 +0800 Subject: [PATCH] fix typo: NDDE -> NODE, permenantly -> permanently --- cmd/options/options_test.go | 2 +- pkg/logcounter/log_counter_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/options/options_test.go b/cmd/options/options_test.go index 34a15b42..86a32c11 100644 --- a/cmd/options/options_test.go +++ b/cmd/options/options_test.go @@ -44,7 +44,7 @@ func TestSetNodeNameOrDie(t *testing.T) { HostnameOverride: "hostname-override", }, }, - "Check hostname override and NDDE_NAME env": { + "Check hostname override and NODE_NAME env": { WantedNodeName: "node-name-env", Meta: options{ Nodename: "node-name-env", diff --git a/pkg/logcounter/log_counter_test.go b/pkg/logcounter/log_counter_test.go index 81094a9f..a3baaf46 100644 --- a/pkg/logcounter/log_counter_test.go +++ b/pkg/logcounter/log_counter_test.go @@ -115,7 +115,7 @@ func TestCount(t *testing.T) { for _, log := range logs { ch <- log } - // trigger the timeout to ensure the test doesn't block permenantly + // trigger the timeout to ensure the test doesn't block permanently for { fakeClock.Step(2 * timeout) }