Fix
This commit is contained in:
parent
b501c5e4a6
commit
3e93021793
@ -6,6 +6,7 @@
|
||||
#include <unordered_map>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
using namespace std;
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user