mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
5c90fb102b
53 test cases covering 4 functions: - gatherTags: environment/flag tag merging (18 cases) - parseLogLevel: log level parsing (30 cases) - defaultLogLevel: default value resolution (10 cases) - multiValue: flag.Value interface for repeatable flags (6 cases) Key difference from pulse-host-agent: parseLogLevel in unified agent delegates directly to zerolog.ParseLevel without range validation, so trace/fatal/panic levels are accepted (unlike pulse-host-agent which restricts to debug-error). First test file for cmd/pulse-agent package.