1
0
Fork 0

test_suite/unit_tests/Scripting/testGC.cxx: Restore nasal state when closing down.

Need to restore global_nasalMinimalInit to false in NasalGCTests::tearDown(),
otherwise later run of NasalSysTests::testCommands fails.
This commit is contained in:
Julian Smith 2021-06-07 22:23:03 +01:00
parent 8a8973fe15
commit 81e12d7c2e

View file

@ -53,6 +53,7 @@ void NasalGCTests::setUp()
// Clean up after each test.
void NasalGCTests::tearDown()
{
global_nasalMinimalInit = false;
FGTestApi::tearDown::shutdownTestGlobals();
}