Fix tests.py paths and use pre-commit to guard against lost tests (#689)

- In pre-commit-config, add a run of `--update_list`. I'm doing this because I noticed (on running tests.py) that we'd lost track of a few tests.
- In tests.py, the paths affect bison output where the path to the file is mentioned. This shift should make `--update_goldens` more reliable.
This commit is contained in:
Jon Meow authored and GitHub committed 2021-07-30 17:04:49 -07:00
1 parent 6ac3adfa53
commit f2db4e2e9f
3 files changed
+38 -9

No files matched your search

+3
View File
@@ -70,6 +70,9 @@ TEST_LIST = [
"struct1",
"struct2",
"struct3",
"struct_field_access_mismatch",
"struct_field_mismatch",
"struct_field_missing",
"tuple1",
"tuple2",
"tuple3",