Filter less in check::functions()

Stop filtering /^new_/ - we no longer generate these for classes, so
only the li_carrays and li_carrays_cpp testcases generate new_* flat
functions, and it's helpful to check those are generated.

Stop filtering /_(alter|get)_newobject$/' - we no longer generate
these, as they weren't used or documented.
This commit is contained in:
Olly Betts 2021-04-17 04:14:33 +12:00
commit 12bcd36923
3 changed files with 3 additions and 5 deletions

View file

@ -3,7 +3,7 @@ require "tests.php";
require "li_carrays_cpp.php";
// Check functions.
check::functions(array('delete_intarray','intarray_getitem','intarray_setitem','delete_abarray','abarray_getitem','abarray_setitem','sum_array'));
check::functions(array('new_intarray','delete_intarray','intarray_getitem','intarray_setitem','new_abarray','delete_abarray','abarray_getitem','abarray_setitem','sum_array'));
// Check classes.
// NB An "li_carrays_cpp" class is created as a mock namespace.