mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix a doc and a test issue not caught by CI
This commit is contained in:
parent
a8bd51904a
commit
83b916bb00
2 changed files with 1 additions and 3 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue