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:
parent
e5bbed1046
commit
69b5643130
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue