caddy/caddyconfig/caddyfile
Mohammed Al Sahaf 6f2a5a8c74
caddyfile: tighten makeArgsReplacer empty/nil tests
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>
2026-10-19 11:20:29 +03:00
..
testdata Revert "caddyfile: Reject long heredoc markers (#6098)" (#6100) 2024-02-12 18:06:22 +00:00
adapter.go chore: upgrade .golangci.yml and workflow to v2 (#6924) 2025-06-03 02:24:32 +03:00
adapter_test.go add adapter tests 2026-10-19 11:18:06 +03:00
dispenser.go caddyfile: clarify ArgErr documentation (#7960) 2026-08-25 11:54:50 +00:00
dispenser_test.go caddyfile: treat quoted braces as literal arguments (#7875) 2026-07-12 10:33:32 +10:00
format_imports.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00
format_imports_test.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00
formatter.go caddyfile: check heredoc markers without a regexp (#8249) 2026-10-17 09:22:41 -04:00
formatter_braced_test.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00
formatter_fuzz.go
formatter_test.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00
importargs.go caddyfile: Fix variadic placeholder false positive when token contains : (#5883) 2023-10-13 02:28:20 -04:00
importargs_test.go caddyfile: tighten makeArgsReplacer empty/nil tests 2026-10-19 11:20:29 +03:00
importgraph.go caddyfile: fix importGraph self-loop and stale-edge bugs (#7971) 2026-09-03 07:48:22 +10:00
importgraph_test.go caddyfile: import graph tests 2026-10-19 11:17:08 +03:00
lexer.go caddyfile: check heredoc markers without a regexp (#8249) 2026-10-17 09:22:41 -04:00
lexer_fuzz.go
lexer_test.go caddyfile: check heredoc markers without a regexp (#8249) 2026-10-17 09:22:41 -04:00
parse.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00
parse_test.go caddyconfig: unify Caddyfile lexer/parser/formatter (token-based formatter) (#7880) 2026-10-07 17:14:16 -04:00