Fix SCRIPT ERROR/ERROR/WARNING on test output

Also "fixing" some GDScript completion tests which
where named wrongly.
This commit is contained in:
Pablo Andres Fuente 2025-03-06 00:40:35 +01:00
parent 134da37497
commit 5775d29ad8
33 changed files with 30 additions and 13 deletions

View file

@ -235,9 +235,13 @@ TEST_CASE("[AHashMap] Insert, iterate and remove many elements") {
TEST_CASE("[AHashMap] Insert, iterate and remove many strings") {
const int elem_max = 432;
AHashMap<String, String> map;
// To not print WARNING: Excessive collision count (NN), is the right hash function being used?
ERR_PRINT_OFF;
for (int i = 0; i < elem_max; i++) {
map.insert(itos(i), itos(i));
}
ERR_PRINT_ON;
//insert order should have been kept
int idx = 0;