Update test-grammar-integration.cpp
This commit is contained in:
parent
dcc27d1a93
commit
d1f679125f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ static bool match_string(const std::string & input, llama_grammar* grammar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test(const std::string & test_desc, const std::string & grammar_str, const std::vector<std::string> & passing_strings, const std::vector<std::string> & failing_strings) {
|
static void test(const std::string & test_desc, const std::string & grammar_str, const std::vector<std::string> & passing_strings, const std::vector<std::string> & failing_strings) {
|
||||||
fprintf(stderr, "⚫ Testing %s\n", test_desc.c_str(), grammar_str.c_str());
|
fprintf(stderr, "⚫ Testing %s\n%s\n", test_desc.c_str(), grammar_str.c_str());
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
||||||
auto grammar = build_grammar(grammar_str);
|
auto grammar = build_grammar(grammar_str);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue