bazelbuild / bazelbuild/bazel-skylib
`diff_test` doesn't show hidden whitespace characters
Open
- Dominant language
- Starlark
- Stars
- 444
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
When using `diff_test`, it can be hard to determine why two files differ if the difference is due to whitespace (e.g. `^M` at the end of lines).
Would it be possible to add more configuration to `diff_test`? For example using `cat -A` to preprocess the files and/or passing `--strip-trailing-cr` to `diff`? Being able to enable color would also be helpful, although not directly related.
Contributor guide
Assessment
This issue has not been assessed yet.