diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-10 18:49:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-10 18:49:02 +0200 |
commit | 83b916bb00eb8cac4584143a80f5cfad7ce1e908 (patch) | |
tree | 7e4bde27d43a204104053dc6d1b4f7dd412f39e5 /tests | |
parent | a8bd51904a7b18bb2e8a6e545277a0418917189e (diff) | |
download | redot-engine-83b916bb00eb8cac4584143a80f5cfad7ce1e908.tar.gz |
Fix a doc and a test issue not caught by CI
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/templates/test_oa_hash_map.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/core/templates/test_oa_hash_map.h b/tests/core/templates/test_oa_hash_map.h index 6e80b52054..9359efa964 100644 --- a/tests/core/templates/test_oa_hash_map.h +++ b/tests/core/templates/test_oa_hash_map.h @@ -100,11 +100,9 @@ TEST_CASE("[OAHashMap] Iteration") { expected.push_back(Pair<int, int>(0, 12934)); expected.push_back(Pair<int, int>(123485, 1238888)); - int idx = 0; for (OAHashMap<int, int>::Iterator it = map.iter(); it.valid; it = map.next_iter(it)) { int64_t result = expected.find(Pair<int, int>(*it.key, *it.value)); CHECK(result >= 0); - idx++; } } |