Skip to content

Commit c1adfd4

Browse files
committed
fix line number
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
1 parent ad5bb50 commit c1adfd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/test/resolution/testCompilerError.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static void testTwoErrors() {
169169
)""";
170170

171171
resolveTypesOfVariables(ctx, program, {"x", "y"});
172-
ensureErrorOnLine(ctx, guard.errors(), ErrorType::UserDiagnosticEncounterError, 722, "no", /* allowOthers = */ true);
172+
ensureErrorOnLine(ctx, guard.errors(), ErrorType::UserDiagnosticEncounterError, 731, "no", /* allowOthers = */ true);
173173
ensureErrorOnLine(ctx, guard.errors(), ErrorType::UserDiagnosticEmitError, 5, "no", /* allowOthers = */ true);
174174
ensureErrorOnLine(ctx, guard.errors(), ErrorType::UserDiagnosticEmitError, 7, "no", /* allowOthers = */ true);
175175
guard.realizeErrors();

0 commit comments

Comments
 (0)