hub (unreleased): review fix 4 — the told time is taken after the send returned, never the walk's start
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
73a534e753
commit
508f936ad4
4 files changed
+72
-14
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Review finding 4 — told_at was the walk's start time. The test on the code BEFORE the fix:
|
||||
--- FAIL: TestReview4_ToldIsTheTimeAfterTheSendReturned (1.25s)
|
||||
end_notice_review_test.go:84: told at 2026-11-15T18:03:30Z — the walk started at 2026-11-15T18:03:30Z and the send took 1.2 s: the told time must be after the send returned, never the walk's start
|
||||
FAIL
|
||||
FAIL gitea.dooplex.hu/admin/felhom-hub/internal/api 1.274s
|
||||
FAIL
|
||||
|
||||
# After the fix, by mutation:
|
||||
== MUTATION: the told time is read before the send again
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestReview4_ToldIsTheTimeAfterTheSendReturned (1.25s)
|
||||
end_notice_review_test.go:84: told at 2026-11-15T18:04:06Z — the walk started at 2026-11-15T18:04:06Z and the send took 1.2 s: the told time must be after the send returned, never the walk's start
|
||||
|
||||
1 mutations, 0 not a red-proof
|
||||
Reference in new issue
Block a user