We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02ffbc commit e1b2a87Copy full SHA for e1b2a87
tests/test_cli.sh
@@ -266,7 +266,7 @@ test_ddg_search_nvidia() {
266
fi
267
268
# Should contain the testing model's standard response
269
- if ! echo "$output" | \grep -q "Lorem ipsum dolor sit amet"; then
+ if ! echo "$output" | sed 's/\x1b\[[0-9;]*m//g' | tail -n 20 | GREP_COLORS='' \grep --color=never -i -q "ipsum dolor"; then
270
echo "Output was: '''\n$output\n'''\n===End of captured output==="
271
echo "FAIL: Output did not contain expected testing string"
272
return 1
0 commit comments