Commit 140a51b
Markus Westerlind
chore: Convert all parser test to use expect_test (#5208)
* chore: Add custom debug implementations for BaseNode and SourceLocation
These shrink the size of `Debug` printed AST's which should make it feasible to use `expect_test` for the parser tests instead
of manually writing it out which is tedious when adding tests and also very brittle since any change to one of the AST types may lead to several tests needing to be manually updated.
* chore: Convert all parser tests to use expect_test
* chore: Convert all type parser tests to use expect_test
* chore: Convert all from parser tests to use expect_test
* chore: Convert all error parser tests to use expect_test
* chore: Convert all object parser tests to use expect_test
* chore: Convert all string parser tests to use expect_test
* chore: Convert all literal parser tests to use expect_test
* test: Actually test the property list module
* chore: Convert all property_list parser tests to use expect_test
* chore: Convert all arrow_function parser tests to use expect_test
* chore: Convert all operator_precedence parser tests to use expect_test
* chore: make generate
* chore: cargo fmt1 parent 41ef75c commit 140a51b
File tree
12 files changed
+19548
-12148
lines changed- libflux
- flux-core/src
- ast
- parser
- tests
- go/libflux
12 files changed
+19548
-12148
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
91 | 118 | | |
92 | 119 | | |
93 | 120 | | |
| |||
391 | 418 | | |
392 | 419 | | |
393 | 420 | | |
394 | | - | |
| 421 | + | |
395 | 422 | | |
396 | 423 | | |
397 | 424 | | |
| |||
409 | 436 | | |
410 | 437 | | |
411 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
412 | 457 | | |
413 | 458 | | |
414 | 459 | | |
| |||
0 commit comments