1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

Fix obsolete variable naming.

This commit is contained in:
David Steele 2022-05-03 10:50:48 -04:00
parent 9629908694
commit b89c568b5f

View File

@ -343,7 +343,7 @@ testRun(void)
// ------------------------------------------------------------------------------------------------------------------------
// Failed context new block
memContextTestName = "test-new-failed-block";
bool bCatch = false;
bool catch = false;
TRY_BEGIN()
{
@ -357,11 +357,11 @@ testRun(void)
}
CATCH(AssertError)
{
bCatch = true;
catch = true;
}
TRY_END();
TEST_RESULT_BOOL(bCatch, true, "new context error was caught");
TEST_RESULT_BOOL(catch, true, "new context error was caught");
TEST_RESULT_PTR(memContextCurrent(), memContextTop(), "context is now 'TOP'");
}