Skip to content

Commit c77db63

Browse files
committed
test(report): cargo report timings command
1 parent d502bbe commit c77db63

File tree

4 files changed

+404
-0
lines changed

4 files changed

+404
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
use crate::prelude::*;
2+
use cargo_test_support::file;
3+
use cargo_test_support::str;
4+
5+
#[cargo_test]
6+
fn case() {
7+
snapbox::cmd::Command::cargo_ui()
8+
.args(["report", "timings"])
9+
.arg("--help")
10+
.assert()
11+
.failure()
12+
.stdout_eq(str![""])
13+
.stderr_eq(file!["stderr.term.svg"]);
14+
}
Lines changed: 39 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)