fix: correct recordUncommented test names (were misspelled "commended")
Two @Test descriptions and function names in ReturnWatcherTests.swift used "recordUncommended" (commended, as in praised) instead of "recordUncommented" (commented, as in has a comment) — a typo introduced when the tests were added. The actual public API (ReturnWatcher.recordUncommented, setRecordUncommented) was already spelled correctly everywhere; only these two test names/descriptions needed fixing. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ZiTXPbPCSjzPVsfoweAbp
This commit is contained in:
@@ -231,8 +231,8 @@ func w27_fsEventsCallbackFiresOnRealArrival() async throws {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test("recordUncommended defaults to true: an unmarked PDF is still recorded (AirDrop behaviour unchanged)")
|
@Test("recordUncommented defaults to true: an unmarked PDF is still recorded (AirDrop behaviour unchanged)")
|
||||||
func recordUncommendedDefaultTrueRecordsAnUnmarkedPDF() async throws {
|
func recordUncommentedDefaultTrueRecordsAnUnmarkedPDF() async throws {
|
||||||
let (paths, cleanup) = try makeCasePaths()
|
let (paths, cleanup) = try makeCasePaths()
|
||||||
defer { try? FileManager.default.removeItem(at: cleanup) }
|
defer { try? FileManager.default.removeItem(at: cleanup) }
|
||||||
|
|
||||||
@@ -250,8 +250,8 @@ func recordUncommendedDefaultTrueRecordsAnUnmarkedPDF() async throws {
|
|||||||
#expect(all.count == 1)
|
#expect(all.count == 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test("recordUncommended=false: an unmarked PDF is not recorded or returned; marking it up in place gets it recorded")
|
@Test("recordUncommented=false: an unmarked PDF is not recorded or returned; marking it up in place gets it recorded")
|
||||||
func recordUncommendedFalseSkipsUnmarkedThenRecordsAfterInPlaceMarkup() async throws {
|
func recordUncommentedFalseSkipsUnmarkedThenRecordsAfterInPlaceMarkup() async throws {
|
||||||
let (paths, cleanup) = try makeCasePaths()
|
let (paths, cleanup) = try makeCasePaths()
|
||||||
defer { try? FileManager.default.removeItem(at: cleanup) }
|
defer { try? FileManager.default.removeItem(at: cleanup) }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user