mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 11:37:09 +00:00
fix(runner): record a witness's detection step in the trace
Claude-Session: https://claude.ai/code/session_01Fj4wJUikdABuMQEETwW55J
This commit is contained in:
1 parent
16134f2584
commit
eb492e53de
3 files changed
+27
-13
No files matched your search
@@ -363,6 +363,11 @@ globalThis.actions = actions(() => []);
|
||||
if witness.Step != 2 {
|
||||
t.Errorf("witness step: got %d, want 2 (causing step)", witness.Step)
|
||||
}
|
||||
// The two indices the witness spans are recorded separately: the
|
||||
// extractor snapshot it carries is step 3's state, not step 2's.
|
||||
if witness.DetectedStep != 3 {
|
||||
t.Errorf("witness detected step: got %d, want 3", witness.DetectedStep)
|
||||
}
|
||||
}
|
||||
if err := scanner.Err(); err != nil {
|
||||
t.Fatalf("scan trace: %v", err)
|
||||
|
||||
Reference in new issue
Block a user