From e127ad39e742396030352240d829bc903b1d4464 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Mon, 3 Oct 2022 22:22:50 +0200 Subject: godot: inital Godot 4 migration --- Tests/Terminal/test_OutputBlock.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tests/Terminal/test_OutputBlock.gd') diff --git a/Tests/Terminal/test_OutputBlock.gd b/Tests/Terminal/test_OutputBlock.gd index f586c55..f0c2b29 100644 --- a/Tests/Terminal/test_OutputBlock.gd +++ b/Tests/Terminal/test_OutputBlock.gd @@ -10,7 +10,7 @@ var _instance: OutputBlock = null func before_each(): - _instance = add_child_autofree(Scene.instance()) + _instance = add_child_autofree(Scene.instantiate()) func after_all(): assert_no_new_orphans() @@ -25,8 +25,8 @@ func test_ContentLabel_bbcode_enabled_is_enabled_after_instantiation(): assert_true(_instance.get_node('ContentLabel').bbcode_enabled) func test_ContentLabel_is_empty_after_instantiation(): - assert_eq(_instance.get_node('ContentLabel').bbcode_text, '') + assert_eq(_instance.get_node('ContentLabel').text, '') func test_setting_Content_sets_ContentLabel_bbcode_text(): _instance.Content = 'test' - assert_eq(_instance.get_node('ContentLabel').bbcode_text, 'test') + assert_eq(_instance.get_node('ContentLabel').text, 'test') -- cgit v1.2.3