Neither test asserted a real outcome (one compared against an unreachable literal, the other logged then discarded the result). Since Replacer.ReplaceAll substitutes the provided default for unknown placeholders, both cases can be checked with deterministic equality. Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com> |
||
|---|---|---|
| .. | ||
| caddyfile | ||
| httpcaddyfile | ||
| warning | ||
| configadapters.go | ||
| configadapters_test.go | ||
| httploader.go | ||
| httploader_test.go | ||
| load.go | ||