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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user