Skip to content

Commit 2bb7b3a

Browse files
CopilotOskarStark
andcommitted
Fix trailing whitespace in test
Co-authored-by: OskarStark <995707+OskarStark@users.noreply.github.com>
1 parent 9b1f76c commit 2bb7b3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/agent/tests/Toolbox/AgentProcessorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,14 @@ public function testSourcesEndUpInResultMetadataWithStreaming()
247247
->willReturn(new ToolResult($toolCall, 'Response based on the two articles.', [$source1, $source2]));
248248

249249
$messageBag = new MessageBag();
250-
250+
251251
// Create a generator that yields chunks and then a ToolCallResult
252252
$generator = (function () use ($toolCall) {
253253
yield 'chunk1';
254254
yield 'chunk2';
255255
yield new ToolCallResult($toolCall);
256256
})();
257-
257+
258258
$result = new GenericStreamResult($generator);
259259

260260
$agent = $this->createMock(AgentInterface::class);
@@ -275,7 +275,7 @@ public function testSourcesEndUpInResultMetadataWithStreaming()
275275
foreach ($output->getResult()->getContent() as $chunk) {
276276
$content .= $chunk;
277277
}
278-
278+
279279
// After consuming the stream, metadata should be available
280280
$metadata = $output->getResult()->getMetadata();
281281
$this->assertTrue($metadata->has('sources'));

0 commit comments

Comments
 (0)