Commit a2c11e2
Make Rust both-hooks E2E test tolerant of report_intent (1.0.64-0)
The 1.0.64-0 runtime removed report_intent, so the model's recorded
report_intent call now resolves to "does not exist". That fires a
preToolUse hook but no postToolUse hook, so the strict
assert_eq!(pre.1, post.1) (first pre tool == first post tool) breaks
because the first pre hook is report_intent while the first post hook
is view.
Collect all pre/post tool names and assert a tool appears in both,
matching the tolerant assertion the Go reference test already uses.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent fd5d064 commit a2c11e2
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
126 | 139 | | |
127 | 140 | | |
128 | 141 | | |
| |||
0 commit comments