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")
func noChangeRegistersNothing() {
let fixture = try? WriterFixture()
guard let fixture else { Issue.record("fixture"); return }
func noChangeRegistersNothing() throws {
let fixture = try makeBoard()
defer { fixture.tearDown() }
guard let store = try? BoardStore(rootURL: fixture.root) else {
Issue.record("store")
return
}
let store = try BoardStore(rootURL: fixture.root)
let board = NativeHistoryProvider()
store.history = board