summaryrefslogtreecommitdiff
path: root/caddyconfig/caddyfile
diff options
context:
space:
mode:
authorSuccess Go <gaodacheng@protonmail.ch>2020-02-28 10:30:48 +0800
committerGitHub <noreply@github.com>2020-02-27 19:30:48 -0700
commitca5c6798806546180994ab7c08e60a5ffeb69394 (patch)
tree8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /caddyconfig/caddyfile
parente2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff)
Fix typos (#3087)
* Fix typo * Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'caddyconfig/caddyfile')
-rwxr-xr-xcaddyconfig/caddyfile/parse_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/caddyconfig/caddyfile/parse_test.go b/caddyconfig/caddyfile/parse_test.go
index 62a3998..e6d0501 100755
--- a/caddyconfig/caddyfile/parse_test.go
+++ b/caddyconfig/caddyfile/parse_test.go
@@ -256,7 +256,7 @@ func TestRecursiveImport(t *testing.T) {
return false
}
if len(got.Segments[0]) != 1 || len(got.Segments[1]) != 2 {
- t.Errorf("got unexpect tokens: %v", got.Segments)
+ t.Errorf("got unexpected tokens: %v", got.Segments)
return false
}
return true
@@ -351,7 +351,7 @@ func TestDirectiveImport(t *testing.T) {
return false
}
if len(got.Segments[0]) != 1 || len(got.Segments[1]) != 8 {
- t.Errorf("got unexpect tokens: %v", got.Segments)
+ t.Errorf("got unexpected tokens: %v", got.Segments)
return false
}
return true