mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
Do the default func test last so we can see what the failure is on more explicitly
This commit is contained in:
@@ -118,6 +118,10 @@ test_find_either_of_two_bytes(PyObject *self UNUSED, PyObject *args) {
|
||||
func = find_either_of_two_bytes_128; break;
|
||||
case 3:
|
||||
func = find_either_of_two_bytes_256; break;
|
||||
case 0: break;
|
||||
default:
|
||||
PyErr_SetString(PyExc_ValueError, "Unknown which_function");
|
||||
return NULL;
|
||||
}
|
||||
uint8_t *abuf;
|
||||
if (posix_memalign((void**)&abuf, 64, 256 + buf.len) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user