rust/tests/coverage/color.coverage

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
501 B
Plaintext
Raw Normal View History

LL| |//@ edition: 2021
LL| |//@ ignore-coverage-map
LL| |//@ ignore-windows
LL| |//@ llvm-cov-flags: --use-color
LL| |
LL| |// Verify that telling `llvm-cov` to use colored output actually works.
LL| |// Ignored on Windows because we can't tell the tool to use ANSI escapes.
LL| |
LL| 1|fn main() {
LL| 1| for _i in 0..0 {}
^0 ^0
LL| 1|}