Skip to content

Commit 3bae178

Browse files
committed
more “normal” test for “error-free”
1 parent ccc69e4 commit 3bae178

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/tollamaChat.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ function reactToEndpoint(testCase)
125125
testCase.verifyWarningFree(@() generate(chat,"dummy"));
126126
% also make sure "http://" can be included
127127
chat = ollamaChat("qwen2:0.5b",Endpoint="http://" + getenv("SECOND_OLLAMA_ENDPOINT"));
128-
testCase.verifyWarningFree(@() generate(chat,"dummy"));
128+
response = generate(chat,"some input");
129+
testCase.verifyClass(response,'string');
130+
testCase.verifyGreaterThan(strlength(response),0);
129131
end
130132

131133
function doReturnErrors(testCase)

0 commit comments

Comments
 (0)