Merge all MissingXXX errors into MissingToken.
This commit is contained in:
@@ -11,7 +11,7 @@ fn test_fn() -> Result<(), EvalAltResult> {
|
||||
.expect_err("should be error")
|
||||
.error_type()
|
||||
{
|
||||
ParseErrorType::FnDuplicateParam(f, p) if f == "hello" && p == "x" => (),
|
||||
ParseErrorType::FnDuplicatedParam(f, p) if f == "hello" && p == "x" => (),
|
||||
_ => assert!(false, "wrong error"),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user