mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -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
|
// 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 {
|
func NewTestDispenser(input string) *Dispenser {
|
||||||
tokens, err := allTokens("Testfile", []byte(input))
|
tokens, err := allTokens("Testfile", []byte(input))
|
||||||
if err != nil && err != io.EOF {
|
if err != nil && err != io.EOF {
|
||||||
|
|
Loading…
Add table
Reference in a new issue