Skip to content

Commit 86861b6

Browse files
steveyeggeclaude
andcommitted
fix: update doctor test version expectations for v0.60.0
The "slightly outdated" test used 0.50.0 which is now 10 minor versions behind 0.60.0, triggering the "very old" warning threshold. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 91df6ef commit 86861b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/bd/doctor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) {
555555
name: "slightly outdated version",
556556
setupVersion: func(beadsDir string) error {
557557
// Use a version that's less than 10 minor versions behind current
558-
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.50.0\n"), 0644)
558+
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.55.0\n"), 0644)
559559
},
560560
expectedStatus: doctor.StatusOK,
561561
expectWarning: false,
@@ -564,7 +564,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) {
564564
name: "very old version",
565565
setupVersion: func(beadsDir string) error {
566566
// Use a version that's 10+ minor versions behind current (triggers warning)
567-
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.29.0\n"), 0644)
567+
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.49.0\n"), 0644)
568568
},
569569
expectedStatus: doctor.StatusWarning,
570570
expectWarning: true,

0 commit comments

Comments
 (0)