Skip to content

Commit 3ebc529

Browse files
committed
update tests to expect correct errors
1 parent 0543e3e commit 3ebc529

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/tazureChat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ function keyNotFound(testCase)
404404
invalidGenerateInput = struct( ...
405405
"EmptyInput",struct( ...
406406
"Input",{{ [] }},...
407-
"Error","MATLAB:validation:IncompatibleSize"),...
407+
"Error","llms:mustBeMessagesOrTxt"),...
408408
...
409409
"InvalidInputType",struct( ...
410410
"Input",{{ 123 }},...

tests/topenAIChat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function keyNotFound(testCase)
663663
invalidGenerateInput = struct( ...
664664
"EmptyInput",struct( ...
665665
"Input",{{ [] }},...
666-
"Error","MATLAB:validation:IncompatibleSize"),...
666+
"Error","llms:mustBeMessagesOrTxt"),...
667667
...
668668
"InvalidInputType",struct( ...
669669
"Input",{{ 123 }},...

0 commit comments

Comments
 (0)