roc/crates/compiler/fmt/src
Joshua Warner bfeddc470a
Move syntax tests to a dedicated crate
* test_fmt moves out of fmt crate
* test_parse _mostly_ moves out of parse crate and into `test_snapshots.rs` (some simple tests remain)
* now there's only two fuzz targets, fuzz_expr and fuzz_module, that cover both parsing and formatting
* added a system to auto-add new snapshot entries for new test files
* took some commented-out tests in `test_parse` and converted them to snapshot tests
* moved test_fmt's verification of formatting consistency into test_snapshots
* fixed a huge derp on my part where the fmt fuzzer in #4758 was completely useless (broken by refactoring just prior to submitting the PR)
* fixed a formatting bug found by fuzzing (bound_variable.expr.roc) - that I missed earlier due to ^^^ that derp
* no longer have roc_test_utils as a dependency in fmt - which was causing problems for the wasm build
2022-12-26 22:50:24 -08:00
..
annotation.rs Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00
collection.rs Introduce record! combinator 2022-11-28 20:25:55 -08:00
def.rs Add fuzzing for the formatter and fix bugs 2022-12-17 09:52:09 -08:00
expr.rs Add fuzzing for the formatter and fix bugs 2022-12-17 09:52:09 -08:00
lib.rs Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00
module.rs Go back to PackageName 2022-12-18 10:11:19 -05:00
pattern.rs Make sure to escape formatting of char literals 2022-12-05 14:09:28 -06:00
spaces.rs Merge pull request #4758 from joshuawarner32/fuzzing-take-2 2022-12-22 06:35:34 -07:00