This commit is contained in:
ala89 2023-12-08 09:41:57 +01:00
parent b501c5e4a6
commit 3e93021793
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include <unordered_map>
#include <list>
#include <vector>
#include <stdexcept>
using namespace std;
/**

View File

@ -117,7 +117,7 @@ int main() {
string input = "int a = 10 @;";
_TEST_ASSERT(
_TEST_IS_EXCEPTION(tokenize({ input }), TokenError),
_TEST_IS_EXCEPTION(tokenize({ input }), SyntaxError),
"Token invalide",
true
)