Commit 4ea3182
test: reduce and improve tests in src/compile/filter_ir.rs (#667)
- test_spec_validates_against_schema: removed — never called
generate_gate_spec_schema(), making the name incorrect; assertions were
a weaker subset of test_gate_spec_serializes_to_valid_json
- test_lower_pr_filters_labels: strengthened — replaced
Predicate::LabelSetMatch { .. } wildcard with pattern that verifies
any_of and none_of field values are preserved through lowering
- test_lower_pr_filters_author_include_exclude: strengthened — added
predicate-type and value assertions for both the include (ValueInSet)
and exclude (ValueNotInSet) checks, previously only names were verified
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 908947b commit 4ea3182
1 file changed
Lines changed: 25 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
1345 | 1353 | | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1346 | 1362 | | |
1347 | 1363 | | |
1348 | 1364 | | |
| |||
1357 | 1373 | | |
1358 | 1374 | | |
1359 | 1375 | | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1364 | 1385 | | |
1365 | 1386 | | |
1366 | 1387 | | |
| |||
1817 | 1838 | | |
1818 | 1839 | | |
1819 | 1840 | | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
1840 | | - | |
1841 | 1841 | | |
1842 | 1842 | | |
1843 | 1843 | | |
| |||
0 commit comments