diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-10-03 22:22:50 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 22:18:18 +0200 |
| commit | e127ad39e742396030352240d829bc903b1d4464 (patch) | |
| tree | 10cc21d70bf13181aef7c8ad0344077ff63579a3 /Tests/Terminal/test_OutputBlock.gd | |
| parent | ddbb045f6387a8ba23b1210b27a745516a387a52 (diff) | |
| download | texty-e127ad39e742396030352240d829bc903b1d4464.tar.xz texty-e127ad39e742396030352240d829bc903b1d4464.zip | |
godot: inital Godot 4 migration
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') |
