// Code generated by rastrillo generate; DO NOT EDIT. package locales import ( "os" "slices" "testing" "amadan.net/rastrillo/rastrillo/budget" "amadan.net/rastrillo/rastrillo/locales" ) func TestMain(m *testing.M) { os.Exit(budget.Main(m)) } // The packs this package imports are exactly the ones its offered // locales need. generate --check proves this file matches // manifest/app.toml; the RASTRILLO_CHECK_CONFIG probe proves main links // this package. func TestPacksMatchOfferedLocales(t *testing.T) { want, err := locales.PacksFor(append([]string{DefaultLocale}, offered...)) if err != nil { t.Fatal(err) } if got := locales.LinkedPacks(); !slices.Equal(got, want) { t.Errorf("gen/locales links %v, manifest/app.toml needs %v: run rastrillo generate", got, want) } }