fix failing tests

This commit is contained in:
pounceandmiss 2026-05-24 04:19:29 -07:00
parent 85c822cad6
commit 7850325839
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@ func TestSessionToMap(t *testing.T) {
"hideids": "false", "hideids": "false",
"receipts": "true", "receipts": "true",
"nativeedits": "false", "nativeedits": "false",
"ignoregroupdeletions": "false",
} }
if !reflect.DeepEqual(m, sample) { if !reflect.DeepEqual(m, sample) {
t.Errorf("Map does not match the sample: %v", m) t.Errorf("Map does not match the sample: %v", m)

View file

@ -74,7 +74,7 @@ func (c *Client) wizardStageOrPrompt(stage, message string) {
log.Debugf("writing wizard stage %v", stage) log.Debugf("writing wizard stage %v", stage)
c.loginWizard.nextStage <- stage c.loginWizard.nextStage <- stage
} else { } else {
log.Warn("Skipping stage %v, wizard cannot keep up", stage) log.Warnf("Skipping stage %v, wizard cannot keep up", stage)
} }
c.loginWizard.chanBusy = true c.loginWizard.chanBusy = true
c.locks.loginWizardWriteLock.Unlock() c.locks.loginWizardWriteLock.Unlock()