fix: gofmt formatting in updater_test.go

This commit is contained in:
Eva Ho 2025-12-18 11:06:40 -05:00
parent c6f941adb3
commit e55fbf2475
1 changed files with 3 additions and 3 deletions

View File

@ -85,8 +85,8 @@ func TestBackgoundChecker(t *testing.T) {
UpdateCheckURLBase = server.URL + "/update.json"
updater := &Updater{Store: &store.Store{}}
defer updater.Store.Close() // Ensure database is closed
defer updater.Store.Close()
settings, err := updater.Store.Settings()
if err != nil {
t.Fatal(err)
@ -95,7 +95,7 @@ func TestBackgoundChecker(t *testing.T) {
if err := updater.Store.SetSettings(settings); err != nil {
t.Fatal(err)
}
updater.StartBackgroundUpdaterChecker(ctx, cb)
select {
case <-stallTimer.C: