diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-25 10:51:29 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-25 10:55:12 +1100 |
| commit | a0b0ace061e797e26dc764b5a3e41f7440864a8c (patch) | |
| tree | 9277a078df34240574da3c61644e8d6706501956 /library/std/src/sys/unix/args.rs | |
| parent | a79a2c729df5086a64c2aaf6c77c0ce582cb1499 (diff) | |
| download | rust-a0b0ace061e797e26dc764b5a3e41f7440864a8c.tar.gz rust-a0b0ace061e797e26dc764b5a3e41f7440864a8c.zip | |
tidy: add unit tests for alphabetical markers.
This requires introducing `tidy_error_ext!` as an alternative to `tidy_error!`. It is passed a closure that is called for an error. This lets tests capture tidy error messages in a buffer instead of printing them to stderr. It also requires pulling part of `check` out into a new function `check_lines`, so that tests can pass in an iterator over some strings instead of a file.
Diffstat (limited to 'library/std/src/sys/unix/args.rs')
0 files changed, 0 insertions, 0 deletions
