Skip to content

Commit

Permalink
Update test.cc
Browse files Browse the repository at this point in the history
Correct errors in tests file
  • Loading branch information
MaximeAlgosup committed Feb 23, 2024
1 parent c8b739b commit 399cb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -607,9 +607,9 @@ TEST(buildProgram, ParsingAndBuilding) {
varList_t *varList = createEmptyVarList();
instList_t *nodeList = createEmptyInstList();
labelList_t *labelList = createEmptyLabelList();
char *fileName = const_cast<char *>("../test/test.aop");
char *fileName = const_cast<char *>("../test/aop/test.aop");
bool parsing = false;
parseFile(nodeList, fileName, varList, errData);
parseFile(nodeList, fileName, varList, labelList, errData);
if (nodeList->head != NULL) {
parsing = true;
}
Expand Down

0 comments on commit 399cb81

Please sign in to comment.