Skip to content

Commit

Permalink
Verificando erros teste função com retorno de vetor
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelrvg committed Feb 21, 2024
1 parent 6c98641 commit 3dc5e5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testes/avaliador-sintatico.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ describe('Avaliador sintático', () => {
const retornoAvaliadorSintatico = avaliadorSintatico.analisar(retornoLexador, -1);

expect(retornoAvaliadorSintatico).toBeTruthy();
expect(retornoAvaliadorSintatico.erros.length).toBeGreaterThanOrEqual(0);
});
})

Expand Down

0 comments on commit 3dc5e5f

Please sign in to comment.