From 9c8089bc3ec2a8e810682e8d1a1cab30096a157b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 19 Feb 2021 18:18:25 +0100 Subject: fix expected errors in tests --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index e8b6c54..82e3ba6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -908,7 +908,7 @@ f :: fn { } a "; - assert_errs!(run_string(prog, true, Vec::new()), [ErrorKind::InvalidProgram, ErrorKind::RuntimeTypeError(_, _)]); + assert_errs!(run_string(prog, true, Vec::new()), [ErrorKind::InvalidProgram, ErrorKind::TypeError(_, _)]); } #[test] -- cgit v1.2.1