commit 2492d80a6a8448c46fbacb8562a84ceac36d222b
parent 3e190a44568d2d423094aadc47cddd4e2f911cf2
Author: lash <dev@holbrook.no>
Date: Sat, 4 Jan 2025 09:49:52 +0000
Make sure all chained addons are present in logging string
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/logging/vanilla_test.go b/logging/vanilla_test.go
@@ -35,4 +35,7 @@ func TestVanillaCtx(t *testing.T) {
if !strings.Contains(s, "foo=bar") {
t.Errorf("expected 'foo=bar' in output, output was: %s", s)
}
+ if !strings.Contains(s, "test") {
+ t.Errorf("expected 'test' in output, output was: %s", s)
+ }
}