mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
fix(tests): log actual output in validateModelOutput on failure (#10843)
This commit is contained in:
parent
bd6bba8d07
commit
433ca84ce0
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,8 @@ export function validateModelOutput(
|
|||
console.warn(
|
||||
'The tool was called successfully, which is the main requirement.',
|
||||
);
|
||||
console.warn('Expected content:', expectedContent);
|
||||
console.warn('Actual output:', result);
|
||||
return false;
|
||||
} else if (process.env.VERBOSE === 'true') {
|
||||
console.log(`${testName}: Model output validated successfully.`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue