From 27a442978fff9ab077041026a858c9bff6819cfb Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Thu, 22 Sep 2022 18:22:19 -0400 Subject: [PATCH] Add easter egg in test --- .../analyzer/features/preload_cyclic_reference_a.notest.gd | 2 +- .../analyzer/features/preload_cyclic_reference_b.notest.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_a.notest.gd b/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_a.notest.gd index d04a55626bf4..692db0b25586 100644 --- a/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_a.notest.gd +++ b/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_a.notest.gd @@ -1,6 +1,6 @@ const B = preload("preload_cyclic_reference_b.notest.gd") -const VALUE_TO_TEST = "godot" +const WAITING_FOR = "godot" static func test_cyclic_reference(): B.test_cyclic_reference() diff --git a/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_b.notest.gd b/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_b.notest.gd index c8e35d6a3e0b..294a0af55766 100644 --- a/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_b.notest.gd +++ b/modules/gdscript/tests/scripts/analyzer/features/preload_cyclic_reference_b.notest.gd @@ -1,4 +1,4 @@ const A = preload("preload_cyclic_reference_a.notest.gd") static func test_cyclic_reference(): - print(A.VALUE_TO_TEST) + print(A.WAITING_FOR)