summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-11 15:27:36 +0100
committerGitHub <noreply@github.com>2021-02-11 15:27:36 +0100
commit5f05e5d90458d8fd7408e385a6da86e4f4e11c6c (patch)
tree35891e99beb776776d83eb033d6b058be53047b0 /modules
parentb9863e157e3329d4a74f4c3c738ddd414cb28799 (diff)
parent6575e4c1ba206355b2e17de9c2ab5c3a74f37328 (diff)
Merge pull request #45882 from HenryWConklin/broken-gdnative-test
Fix broken gdnative variant test
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/tests/test_variant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/tests/test_variant.h b/modules/gdnative/tests/test_variant.h
index 5284bf26f0..aeceb6e68f 100644
--- a/modules/gdnative/tests/test_variant.h
+++ b/modules/gdnative/tests/test_variant.h
@@ -124,6 +124,7 @@ TEST_CASE("[GDNative Variant] Variant evaluate") {
godot_variant_new_int(&two, 2);
godot_variant three;
+ godot_variant_new_nil(&three);
bool valid = false;
godot_variant_evaluate(GODOT_VARIANT_OP_ADD, &one, &two, &three, &valid);