()
| 174 | |
| 175 | #[test] |
| 176 | fn indents_compact_annotated_tree() { |
| 177 | let list = format_compact_annotated_path_list( |
| 178 | [ |
| 179 | ("src/a.rs", " (edited 1m ago)"), |
| 180 | ("src/b.rs", " (edited 2m ago)"), |
| 181 | ], |
| 182 | " - ", |
| 183 | " ", |
| 184 | ); |
| 185 | |
| 186 | assert_eq!( |
| 187 | list, |
| 188 | " src/\n a.rs (edited 1m ago)\n b.rs (edited 2m ago)" |
| 189 | ); |
| 190 | } |
| 191 | } |
nothing calls this directly
no test coverage detected