Add no_position feature.
This commit is contained in:
@@ -206,7 +206,7 @@ fn test_map_json() -> Result<(), Box<EvalAltResult>> {
|
||||
assert!(matches!(
|
||||
*engine.parse_json(" 123", true).expect_err("should error"),
|
||||
EvalAltResult::ErrorParsing(ParseErrorType::MissingToken(token, _), pos)
|
||||
if token == "{" && pos.position() == Some(4)
|
||||
if token == "{"
|
||||
));
|
||||
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user