Commands to engine (#3448)

* commands to engine

* Correction of error in parser

* Added detailed regex error to parse

* better regex error parsing

* clippy corrections

* parse example with test

* secondary error for regex

* removed clone in error parser

* Secondary error message
This commit is contained in:
Fernando Herrera
2021-05-22 16:52:04 +01:00
committed by GitHub
parent 94a26abf21
commit f075e2459d
6 changed files with 108 additions and 77 deletions

View File

@ -181,7 +181,7 @@ mod regex {
"#
));
assert!(actual.err.contains("invalid regex"));
assert!(actual.err.contains("unclosed group"));
})
}
}