1
0
forked from M-Labs/nac3
Commit Graph

14 Commits

Author SHA1 Message Date
10538b5296 core: Update insta snapshots 2023-11-09 13:00:27 +08:00
f5a6d29106 update insta snapshots 2022-04-12 09:56:49 +08:00
c3156afebd nac3core: fix broken tests 2022-03-30 04:05:47 +08:00
80631fc92b Option type support (#224)
Co-authored-by: ychenfo <yc@m-labs.hk>
Co-committed-by: ychenfo <yc@m-labs.hk>
2022-03-26 15:09:15 +08:00
24a26b53ae nac3core/toplevel: fixed broken tests
We should not include class type variables in functions type variables.
2022-03-24 21:33:09 +08:00
d9cb506f6a nac3core: refactored for better error messages 2022-02-21 18:24:19 +08:00
1288624218 lock insta version (#179) 2022-01-31 15:18:49 +08:00
de065cfa14 update dependencies 2022-01-31 12:28:40 +08:00
4d2fd9582a nac3core: fix broken tests 2021-12-09 01:37:05 +08:00
d336200bf4 nac3core: fix broken tests due to the fix of rigid typevar handling 2021-11-21 06:11:55 +08:00
8dbb4ad58a nac3core/toplevel: make test less fragile
test results should not depend on internal states if possible
2021-11-05 20:28:21 +08:00
47f563908a basic string support (#30) 2021-11-02 23:22:49 +08:00
fb92b6d364 nac3core: supports range iterator 2021-10-23 23:53:36 +08:00
f5ce1afe0b fix tests and switch to insta
Use a library called 'insta' to better organize those longer correct test outputs in toplevel tests. 'insta' creates `.snap` files as snapshots of the test output, and will automatically do the diff if the output is different. This makes maintaining test cases with larger outputs a lot easier.

Reviewed-on: M-Labs/nac3#42
Co-authored-by: ychenfo <yc@m-labs.hk>
Co-committed-by: ychenfo <yc@m-labs.hk>
2021-10-03 16:39:12 +08:00