diff --git a/pkg/logs/logs_test.go b/pkg/logs/logs_test.go index 1ecf846c..3ddd6da1 100644 --- a/pkg/logs/logs_test.go +++ b/pkg/logs/logs_test.go @@ -37,12 +37,6 @@ func TestLogs(t *testing.T) { logs.AddFlags(fs) fs.Parse(strings.Split(flags, " ")) logs.Initialize() - - // Remember to not use `assert.Equal` from within the sub-process - // since (for some reason) `assert.Equal` doesn't cause the test - // sub-process to exit with 1. Instead, it exits with 0, which means - // we can't notice the error from the parent process. - require.Equal(t, "", log.Prefix(), "logs.Initialize should remove the `vCert: ` prefix from the global log logger") } log.Print("log Print")