rust/library/test/src/formatters
Tomasz Miąsko 88753cead8 test: Print test name only once on timeout
Pretty formatter when using multiple test threads displays test name twice on
timeout event. This implicitly suggest that those are two different events,
while in fact they are always printed together.

Print test name only once.

Before:

```
running 3 tests
test src/lib.rs - c (line 16) ... ok
test src/lib.rs - a (line 3) ... ok
test src/lib.rs - b (line 9) ... test src/lib.rs - b (line 9) has been running for over 60 seconds
test src/lib.rs - b (line 9) ... ok
```

After:

```
running 3 tests
test src/lib.rs - c (line 16) ... ok
test src/lib.rs - a (line 3) ... ok
test src/lib.rs - b (line 9) has been running for over 60 seconds
test src/lib.rs - b (line 9) ... ok
```
2021-02-21 00:00:00 +00:00
..
json.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
mod.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
pretty.rs test: Print test name only once on timeout 2021-02-21 00:00:00 +00:00
terse.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00