hub (unreleased): review fix 7 — a test for the stuck line's guard: a row told to the operator never gets „the notice has not gone out”
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
b391a2322c
commit
cbfeeb626e
3 files changed
+44
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Review finding 7 — the guard n.Told() in endNoticeStuck had no test. The new test, by mutation of the guard:
|
||||
== MUTATION: the stuck line no longer asks whether somebody was told
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestReview7_ARowToldToTheOperatorNeverGetsTheStuckLine (0.05s)
|
||||
end_notice_review_test.go:169: a row that was told to the operator got the „told nobody” line: [{ID:2 CustomerID:c1 EventType:offsite_end_notice_stuck Severity:warning Message:Off-site: the household c1 removed the app "vikunja" w
|
||||
|
||||
1 mutations, 0 not a red-proof
|
||||
Reference in new issue
Block a user