Skip to content

Commit 2a9f4ba

Browse files
committed
fix: add missing diff field to ToolOutput in integration tests
1 parent 3d922cd commit 2a9f4ba

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/integration.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ impl ToolExecutor for OutputToolExecutor {
166166
summary: self.output.clone(),
167167
blocks_executed: 1,
168168
filter_stats: None,
169+
diff: None,
169170
}))
170171
}
171172
}
@@ -179,6 +180,7 @@ impl ToolExecutor for EmptyOutputToolExecutor {
179180
summary: String::new(),
180181
blocks_executed: 1,
181182
filter_stats: None,
183+
diff: None,
182184
}))
183185
}
184186
}
@@ -192,6 +194,7 @@ impl ToolExecutor for ErrorOutputToolExecutor {
192194
summary: "[error] command failed".into(),
193195
blocks_executed: 1,
194196
filter_stats: None,
197+
diff: None,
195198
}))
196199
}
197200
}
@@ -221,6 +224,7 @@ impl ToolExecutor for ConfirmToolExecutor {
221224
summary: "confirmed output".into(),
222225
blocks_executed: 1,
223226
filter_stats: None,
227+
diff: None,
224228
}))
225229
}
226230
}
@@ -255,6 +259,7 @@ impl ToolExecutor for ExitCodeToolExecutor {
255259
summary: "[exit code 1] process failed".into(),
256260
blocks_executed: 1,
257261
filter_stats: None,
262+
diff: None,
258263
}))
259264
}
260265
}
@@ -2160,6 +2165,7 @@ mod self_learning {
21602165
summary: "[error] command failed".into(),
21612166
blocks_executed: 1,
21622167
filter_stats: None,
2168+
diff: None,
21632169
}))
21642170
}
21652171
}

tests/performance_agent_integration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ impl ToolExecutor for InstrumentedMockExecutor {
101101
summary: "$ echo test\ntest".to_string(),
102102
blocks_executed: 1,
103103
filter_stats: None,
104+
diff: None,
104105
}))
105106
} else {
106107
Ok(None)

0 commit comments

Comments
 (0)