Commit Graph

7 Commits

Author SHA1 Message Date
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