summaryrefslogtreecommitdiff
path: root/tests/test-tokenizer-1-llama.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-tokenizer-1-llama.cpp')
-rw-r--r--tests/test-tokenizer-1-llama.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-tokenizer-1-llama.cpp b/tests/test-tokenizer-1-llama.cpp
index 9333f868..8caf0b24 100644
--- a/tests/test-tokenizer-1-llama.cpp
+++ b/tests/test-tokenizer-1-llama.cpp
@@ -85,7 +85,7 @@ int main(int argc, char **argv) {
continue;
}
- std::string str = codepoint_to_utf8(cp);
+ std::string str = unicode_cpt_to_utf8(cp);
std::vector<llama_token> tokens = llama_tokenize(ctx, str, false);
std::string check = llama_detokenize_spm(ctx, tokens);
if (cp != 9601 && str != check) {