about summary refs log tree commit diff
path: root/library/std/src/sys/unix/args.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-25 10:51:29 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-25 10:55:12 +1100
commita0b0ace061e797e26dc764b5a3e41f7440864a8c (patch)
tree9277a078df34240574da3c61644e8d6706501956 /library/std/src/sys/unix/args.rs
parenta79a2c729df5086a64c2aaf6c77c0ce582cb1499 (diff)
downloadrust-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