From: Simon Josefsson Date: Sat, 08 Aug 2026 16:14:01 +0200 Subject: [PATCH] Avoid network access during build Forwarded: not-needed https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830673 diff --git a/fluent/fluent_test.go b/fluent/fluent_test.go index 26c1cea..7774b1a 100644 --- a/fluent/fluent_test.go +++ b/fluent/fluent_test.go @@ -337,12 +337,6 @@ func Test_New_itShouldUseUnixDomainSocketIfUnixSocketSpecified(t *testing.T) { } } -func Test_New_itShouldUseConfigValuesFromArguments(t *testing.T) { - f, _ := New(Config{FluentPort: 6666, FluentHost: "foobarhost"}) - assertEqual(t, f.Config.FluentPort, 6666) - assertEqual(t, f.Config.FluentHost, "foobarhost") -} - func Test_New_itShouldUseConfigValuesFromMashalAsJSONArgument(t *testing.T) { f, _ := New(Config{MarshalAsJSON: true}) assertEqual(t, f.Config.MarshalAsJSON, true)