Skip to content

Commit befa31c

Browse files
createthisCISC
andauthored
Update tests/test-chat-parser.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent 6773708 commit befa31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-chat-parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static void test_deepseek_v3_1_tool_calls() {
220220
};
221221
const std::string input = "<|tool▁calls▁begin|><|tool▁call▁begin|>get_time<|tool▁sep|>{\"city\": \"Tokyo\"}<|tool▁call▁end|><|tool▁calls▁end|>";
222222
auto msg = common_chat_parse(input, false, syntax);
223-
assert_equals(variant, static_cast<std::size_t>(1), msg.tool_calls.size());
223+
assert_equals<std::size_t>(variant, 1, msg.tool_calls.size());
224224
assert_equals(variant, std::string("get_time"), msg.tool_calls[0].name);
225225
// JSON arguments are dumped without spaces
226226
assert_equals(variant, std::string("{\"city\":\"Tokyo\"}"), msg.tool_calls[0].arguments);

0 commit comments

Comments
 (0)