Remove cleanup test

A better version of the 'z_cleanup' test has been integrated into Bessere Tests in the latest commit (as of writing this commit message). Therefore this test is no longer required as Bessere Tests will warn us on shutdown for any leftover children or orphan nodes from now on.
This commit is contained in:
JeremyStar™ 2024-03-31 03:14:03 +02:00
parent 174911cfc2
commit a09009ebe5
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 1 additions and 9 deletions

@ -1 +1 @@
Subproject commit 642c3a62a9c2abeb1d3b61d4d4639db75bc02d4a
Subproject commit 82cf251ecee89f3f2a575b1b322c1df48ea42aaf

View file

@ -1,8 +0,0 @@
extends 'res://tests/unitbase.gd'
func test_root() -> void:
var children_active: Array[String] = []
for child in get_tree().root.get_children(): if child.name != "RuntimeScene" and child.name != name: children_active.append(child.name)
if children_active.size() == 0: rok()
else: rerror("There are still children active in /root/")