Francis Lavoie
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
caddyconfig/caddyfile/dispenser.go
|
@ -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 { |
|
|