mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
- Only a hunk that removes blank lines and line comments reaches past the next line to the code after it, so deleting an import before an unchanged test no longer marks that test as changed. - A replacement hunk that removes a skip comment inside a test also marks the code after it, so the `return` the comment explained counts as changed. - A folded `run: >2-` block uses its indentation indicator as the content indentation. - An assignment right after `&&`, `|`, `;` or `(` with no space before it (`true&&NAME=x cargo test`) is read as one. - Only a redirection of standard output (`>>`, `1>>`, `&>>`) to `$GITHUB_ENV` writes the printed assignment; `2>>` does not. - A redirection after `;`, `&&`, `&` or a line break belongs to the next command and does not replace the write to the environment file. - A size check joined to an `.all(...)` by `||` does not guard it. - A numeric index or a first-item unwrap guards only an `.all(...)` over the local it reads (`expected[1]` does not guard `actual.iter()`). - A field of a tuple literal (`let pair = (5, Kind::A); pair.1`) resolves to its element, as a field of a tuple struct does.