@@ -53,7 +53,7 @@ const regenerateFixtureCommand = "go run . config export data --sanitize --theme
5353
5454// fixturePath is the single sanitized --data fixture every bundled theme
5555// renders against - see the package comment above for why one shared fixture
56- // replaces what used to be 124 per-theme files.
56+ // replaces what used to be 125 per-theme files.
5757var fixturePath = filepath .Join ("testdata" , "fixtures" , "prompt.data.json" )
5858
5959// sanitizedPWD is the PWD value cli/sanitize.go bakes into fixturePath (see
@@ -69,7 +69,7 @@ var update = flag.Bool("update", false, "regenerate the golden manifest and repr
6969// fixture. code.yml runs `go test ./...` on ubuntu, macOS and windows, so all
7070// three matter, not just this machine.
7171func TestMain (m * testing.M ) {
72- // 65 of 124 themes render a time segment through dateInZone(fmt, date,
72+ // 65 of 125 themes render a time segment through dateInZone(fmt, date,
7373 // "Local") (template/date.go). The segment's own state is baked into the
7474 // fixture at record time (restoreData never re-probes it), but formatting
7575 // that recorded instant still happens at render time in the process's
@@ -216,7 +216,7 @@ func renderTheme(t *testing.T, themePath, fixturePath string) []byte {
216216 // template.Init only rebuilds the package-level template.Cache singleton
217217 // when it is nil (template/init.go) - by design, for the serve daemon,
218218 // which stays alive across many renders and calls ResetCache itself
219- // between them (cli/serve.go). This harness renders 124 different themes
219+ // between them (cli/serve.go). This harness renders 125 different themes
220220 // (each with its own env identity) in one process, and other tests in
221221 // this package also populate Cache directly, so without forcing a rebuild
222222 // here every render after the first would silently reuse whichever env
@@ -314,13 +314,13 @@ func contextWindow(b []byte, offset int) []byte {
314314}
315315
316316// TestGoldenThemes renders every bundled theme from its committed fixture and
317- // checks it two ways: a sha256 line in the manifest (all 124 themes) and,
317+ // checks it two ways: a sha256 line in the manifest (all 125 themes) and,
318318// additionally for representativeThemes, a byte-for-byte comparison against a
319319// committed golden file. Run with -update to regenerate both instead of
320320// comparing.
321321func TestGoldenThemes (t * testing.T ) {
322322 themePaths := themeFiles (t )
323- require .Lenf (t , themePaths , 124 , "expected 124 bundled themes (122 .omp.json + 2 .omp.yaml); " +
323+ require .Lenf (t , themePaths , 125 , "expected 125 bundled themes (123 .omp.json + 2 .omp.yaml); " +
324324 "if this changed intentionally, update the fixture/golden set for the new/removed theme(s)" )
325325
326326 type manifestEntry struct {
0 commit comments