diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cli.c | 6 | ||||
| -rw-r--r-- | tests/test_server.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_cli.c b/tests/test_cli.c index a6a065c..c5151e9 100644 --- a/tests/test_cli.c +++ b/tests/test_cli.c @@ -117,10 +117,10 @@ int main(int argc, char **argv) expect(run_cli(args, NULL) == 0, "single text exits 0"); expect(stdout_is_embedding(dims.hidden), "single text prints dim floats"); - /* Explicit CPU backend and thread count. */ + /* Thread count. */ snprintf(args, sizeof(args), - "-d '%s' --backend cpu -t 2 -v 'hello world'", g_dir); - expect(run_cli(args, NULL) == 0, "--backend cpu -t 2 -v exits 0"); + "-d '%s' -t 2 -v 'hello world'", g_dir); + expect(run_cli(args, NULL) == 0, "-t 2 -v exits 0"); expect(file_contains(g_err, "Using 2 CPU thread(s)"), "-v reports the thread count"); diff --git a/tests/test_server.c b/tests/test_server.c index 2e99881..113b4d7 100644 --- a/tests/test_server.c +++ b/tests/test_server.c @@ -320,7 +320,7 @@ static void test_http_embeddings(int port) { char *body = NULL; - /* CORS preflight and routing. */ + /* Routing. */ TEST_ASSERT(http_req(port, "OPTIONS", "/v1/embeddings", NULL, NULL, NULL, NULL) == 204); TEST_ASSERT(http_req(port, "GET", "/v1/embeddings", TEST_API_KEY, NULL, |
