test: satisfy field notes lint

This commit is contained in:
Peter Steinberger 2026-04-21 07:54:19 +01:00
parent e71e97a691
commit bf35006438
No known key found for this signature in database

View File

@ -4,7 +4,6 @@ import (
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"github.com/stretchr/testify/require"
@ -87,7 +86,7 @@ old notes
require.NoError(t, err)
require.Contains(t, string(calls), "agent --local")
require.Contains(t, string(calls), "--thinking high")
require.False(t, strings.Contains(text, "GitHub posted the most"))
require.NotContains(t, text, "GitHub posted the most")
}
func writeExecutable(t *testing.T, path string, body string) {