Commit graph

44 commits

Author SHA1 Message Date
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
4e4854ceaa remove unneeded argument 2021-03-12 02:48:07 +01:00
Folkert
3e554cb21f cleanup 2021-03-11 21:21:00 +01:00
Folkert
8ee99fa6be fix up tests 2021-03-10 12:03:33 +01:00
Folkert
0ad975113c fix Bag import in tests 2021-02-08 23:40:50 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
7b4378219e defer empty record issues 2021-02-02 22:27:14 +01:00
Folkert
5ce8e3a9d6 make tests compile 2021-02-02 22:09:29 +01:00
rvcas
27cfd4d7ad more test fixes 2021-01-04 15:18:49 -05:00
Sébastien Besnier
69c38e5bf7 add some commented tests -- it doesn't involve trialing commas too much... 2020-12-28 19:12:37 +01:00
Sébastien Besnier
965d151168 add tag union tests for trailing commas formatting 2020-12-28 18:57:45 +01:00
Sébastien Besnier
7692bd5671 add test... and fix missing final comments! 2020-12-28 18:41:48 +01:00
Sébastien Besnier
04d0711251 multiline tests update for trailing comma
This reverts commit 4dbde30c4f6584871d3e8c54fd89b3ee27a82b72.
2020-12-28 17:54:44 +01:00
Sébastien Besnier
2f3d74e8bd fix empty record with only comments in it 2020-12-28 17:54:35 +01:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Sébastien Besnier
f46841d63b cargo fmt 2020-11-25 16:23:33 +01:00
Sébastien Besnier
94af5caa69 add some (directly passing!) tests 2020-11-25 16:12:10 +01:00
Sébastien Besnier
aa3ce94f86 fix formating newlines 2020-11-25 15:44:58 +01:00
Sébastien Besnier
7361f62902 format properly multiline type annotations 2020-11-25 15:15:32 +01:00
Sébastien Besnier
4ed8d3eb79 add failing test 2020-11-25 10:33:36 +01:00
Sébastien Besnier
d87b5bfd9f add failing tests 2020-11-21 20:36:26 +01:00
Sébastien Besnier
c692319fb9 correctly format multiline record type annotation 2020-11-21 20:36:26 +01:00
Sébastien Besnier
f9666d6efe better code comments 2020-11-21 20:36:26 +01:00
Sébastien Besnier
1d44f7fef8 force comments to start with a space 2020-11-15 10:45:51 +01:00
Sébastien Besnier
6be94c5f29 add some tests.... and fix some bugs! 2020-11-14 18:51:43 +01:00
Sébastien Besnier
2000948765 format the final comments in records 2020-11-14 18:39:46 +01:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
7ec161c415 add trailing comma in formatter for records 2020-11-13 19:01:46 +01:00
Richard Feldman
453fc0e27c REVERT THIS! Temporarily break block strings.
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
2020-08-31 23:22:10 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095 Reproduce empty string parsing bug 2020-08-31 23:13:50 -04:00
Richard Feldman
9f9ce327d4 Lazily validate that input bytes are valid UTF-8 2020-07-27 01:10:04 -04:00
Folkert
ba38d4ec14 cleanup 2020-07-10 23:54:00 +02:00
Folkert
d61b8c88a1 implement Formattable for Pattern 2020-07-10 23:54:00 +02:00
Folkert
e18d3bbfe4 use Parens type in pattern formatting 2020-07-10 23:54:00 +02:00
Folkert
672b67d527 initial version of annotation formatting 2020-07-09 17:41:21 +02:00
Richard Feldman
20648958eb Revise some future fmt tests 2020-05-03 08:50:21 -04:00
Chad Stearns
5ca1174f78 Another when condition test 2020-04-21 23:49:26 -04:00
Chad Stearns
8e86146963 Lots of new tests. Lots of commented-in tests. Tests that had a lot of assertions broken out into separate tests 2020-04-21 23:40:08 -04:00
Chad Stearns
c3d296a026 fixed formatting error for when formatting 2020-04-21 23:38:04 -04:00
Chad Stearns
3fc19e90e4 Precedence conflict tests 2020-03-08 16:26:17 -04:00
Richard Feldman
365c65a7d9 Fix lifetime problem with arena 2020-03-07 11:20:39 -05:00
Richard Feldman
5a129a506a Move fmt 2020-03-06 18:24:37 -05:00
Renamed from compiler/tests/test_format.rs (Browse further)