fix typo in negative_context.cpp (#2611)

The message is not corresponding to what is actually tested.
This commit is contained in:
Romaric Jodin
2026-02-04 08:11:24 -08:00
committed by GitHub
parent 2d9e1cb92e
commit 50ba8c8c1c

View File

@@ -198,7 +198,7 @@ REGISTER_TEST(negative_create_context_from_type)
{ {
test_object_failure_ret( test_object_failure_ret(
tmp_context, err, CL_DEVICE_NOT_FOUND, tmp_context, err, CL_DEVICE_NOT_FOUND,
"clCreateContextFromType should return CL_DEVICE_NOT_AVAILABLE " "clCreateContextFromType should return CL_DEVICE_NOT_FOUND "
"when: \"no devices that match device_type and property values " "when: \"no devices that match device_type and property values "
"specified in properties are currently available\"", "specified in properties are currently available\"",
TEST_FAIL); TEST_FAIL);