summaryrefslogtreecommitdiff
path: root/tests/test_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_macros.h')
-rw-r--r--tests/test_macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_macros.h b/tests/test_macros.h
index 9cb9624d52..189554bd1a 100644
--- a/tests/test_macros.h
+++ b/tests/test_macros.h
@@ -122,7 +122,7 @@ DOCTEST_STRINGIFY_VARIANT(PackedColorArray);
// Example usage: `godot --test gdscript-parser`.
typedef void (*TestFunc)();
-extern Map<String, TestFunc> *test_commands;
+extern HashMap<String, TestFunc> *test_commands;
int register_test_command(String p_command, TestFunc p_function);
#define REGISTER_TEST_COMMAND(m_command, m_function) \
@@ -233,8 +233,8 @@ class SignalWatcher : public Object {
private:
inline static SignalWatcher *singleton;
- /* Equal to: Map<String, Vector<Vector<Variant>>> */
- Map<String, Array> _signals;
+ /* Equal to: RBMap<String, Vector<Vector<Variant>>> */
+ HashMap<String, Array> _signals;
void _add_signal_entry(const Array &p_args, const String &p_name) {
if (!_signals.has(p_name)) {
_signals[p_name] = Array();