aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-02-19 18:18:25 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-02-19 18:18:25 +0100
commit9c8089bc3ec2a8e810682e8d1a1cab30096a157b (patch)
treef954efef3526ecfaff6fb829a22a14b7240c1074 /src/lib.rs
parentfe41db5dceecb01a0ada18ea2fc369abb1498aa3 (diff)
downloadsylt-9c8089bc3ec2a8e810682e8d1a1cab30096a157b.tar.gz
fix expected errors in tests
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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]