diff options
Diffstat (limited to 'Tests/Terminal/test_OutputBlock.gd')
| -rw-r--r-- | Tests/Terminal/test_OutputBlock.gd | 6 |
1 files changed, 3 insertions, 3 deletions
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') |
