mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
- Changed mode decodes `+++` labels (the tab after a path with a space,
C-quoted paths), and the file inventories read `git ls-files -z`, so
files with spaces, quotes or non-ASCII names are linted.
- `#[test_case(1; "one")]` arguments and other attributes no longer end
the item before its `fn`, and an inner `#![...]` attribute before the
first test is not part of that test's span.
- A helper name counts as asserting only when every function of that
name in the crate's test code asserts.
- `.stdout(file)` and other stream builder calls count as configuration
whatever their argument, so `exit-status-only` still reports.
- A `return` inside `async { ... }` or `async move { ... }` ends the
future, not the test, for `early-return`.
- `env-gate-unset` looks for setters in code only, not in string
literals, ignores `echo` and `printf` output that is not written to
`$GITHUB_ENV`, and its span reaches the variable name on a later line.
- `sleep` reports `thread::sleep`, or a bare `sleep(...)` only where the
file imports `thread::sleep`.
- `reads-source` checks raw string paths in `include_str!` and
`ends_with`.
- A test pins that a collection changed after its `assert_eq!` loses
that guard for `all-unguarded`.