We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b360d3 + c2a56a7 commit 595f8d8Copy full SHA for 595f8d8
course/lesson-26-looping-over-dictionaries/place-units/TestPlaceUnits.gd
@@ -12,8 +12,8 @@ func test_all_items_are_displayed():
12
var source: Dictionary = grid.get("units")
13
var dicts_match := displayed.has_all(source.keys())
14
if dicts_match:
15
- for value in displayed.values():
16
- if not source.values().has(value):
+ for key in displayed:
+ if displayed[key] != source[key]:
17
dicts_match = false
18
break
19
0 commit comments