Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
loumadev committed Nov 28, 2023
1 parent ebbf6c5 commit 40f45f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compiler/analyser/Analyser.test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ DESCRIBE(function_dec_analysis, "Function declaration analysis") {

analyserResult = Analyser_analyse(&analyser, (ProgramASTNode*)parserResult.node);
EXPECT_FALSE(analyserResult.success);
EXPECT_TRUE(analyserResult.type == RESULT_ERROR_SYNTACTIC_ANALYSIS);
EXPECT_TRUE(analyserResult.type == RESULT_ERROR_SEMANTIC_OTHER);
}
{
Lexer_setSource(
Expand Down

0 comments on commit 40f45f6

Please sign in to comment.