0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-30 22:34:15 -05:00

chore: Fix typo in dispenser.go (#3456)

This commit is contained in:
Francis Lavoie 2020-05-27 10:13:57 -04:00 committed by GitHub
parent e5bbed1046
commit 69b5643130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ func NewDispenser(tokens []Token) *Dispenser {
}
// NewTestDispenser parses input into tokens and creates a new
// Disenser for test purposes only; any errors are fatal.
// Dispenser for test purposes only; any errors are fatal.
func NewTestDispenser(input string) *Dispenser {
tokens, err := allTokens("Testfile", []byte(input))
if err != nil && err != io.EOF {