test: update version threshold in TestCheckMetadataVersionTracking

The test for "slightly outdated version" was using 0.35.0, which is now
10 minor versions behind the current 0.45.0. This exceeds the threshold
for "very old" (>=10 minor versions), causing the test to fail.

Updated the test version from 0.35.0 to 0.43.0 to stay within the
"slightly outdated" range (2 minor versions behind).

(bd-iw11)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
fang
2026-01-06 23:31:09 -08:00
committed by Steve Yegge
parent a70c3a8cbe
commit 90c5be3a13

View File

@@ -924,7 +924,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) {
name: "slightly outdated version",
setupVersion: func(beadsDir string) error {
// Use a version that's less than 10 minor versions behind current
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.35.0\n"), 0644)
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.43.0\n"), 0644)
},
expectedStatus: doctor.StatusOK,
expectWarning: false,