diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-02-19 18:18:25 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-02-19 18:18:25 +0100 |
| commit | 9c8089bc3ec2a8e810682e8d1a1cab30096a157b (patch) | |
| tree | f954efef3526ecfaff6fb829a22a14b7240c1074 /src/lib.rs | |
| parent | fe41db5dceecb01a0ada18ea2fc369abb1498aa3 (diff) | |
| download | sylt-9c8089bc3ec2a8e810682e8d1a1cab30096a157b.tar.gz | |
fix expected errors in tests
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |
