Enabled assertions for unit test

parser.sync-conflict-20210405-185821-O3W7KWN
Tristan B. V. Kildaire 2021-04-01 20:53:31 +02:00
parent 398ae858c3
commit 4fbde01073
1 changed files with 2 additions and 2 deletions

View File

@ -514,12 +514,12 @@ unittest
typeChecker.beginCheck(); typeChecker.beginCheck();
/* Shouldn't reach here, collision exception MUST occur */ /* Shouldn't reach here, collision exception MUST occur */
// assert(false); assert(false);
} }
catch (CollidingNameException e) catch (CollidingNameException e)
{ {
/* Make sure the member y.y collided with root container (module) y */ /* Make sure the member y.y collided with root container (module) y */
// assert(e.defined == container); assert(e.defined == container);
} }
} }