The no-change title test gets a real board under it — an empty folder is not a board and the loader rightly said so

The agent-written test inited BoardStore on a bare WriterFixture temp dir;
the fail-fast loader refuses that, so the test failed on its own branch
despite the reported green. Swapped to the file's own makeBoard() fixture.

Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
2026-08-09 10:43:51 -04:00
parent 085a84abb2
commit fd31ed24f4
+3 -7
View File
@@ -204,14 +204,10 @@ struct CardTitleRegisterEditTests {
} }
@Test("No net change registers nothing") @Test("No net change registers nothing")
func noChangeRegistersNothing() { func noChangeRegistersNothing() throws {
let fixture = try? WriterFixture() let fixture = try makeBoard()
guard let fixture else { Issue.record("fixture"); return }
defer { fixture.tearDown() } defer { fixture.tearDown() }
guard let store = try? BoardStore(rootURL: fixture.root) else { let store = try BoardStore(rootURL: fixture.root)
Issue.record("store")
return
}
let board = NativeHistoryProvider() let board = NativeHistoryProvider()
store.history = board store.history = board