File: disable-cli-test

package info (click to toggle)
rust-insta-cmd 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: makefile: 25
file content (42 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Index: insta-cmd/src/bin/hello.rs
===================================================================
--- insta-cmd.orig/src/bin/hello.rs
+++ insta-cmd/src/bin/hello.rs
@@ -1,16 +1,3 @@
 fn main() {
     println!("Hello Bin!");
 }
-
-#[test]
-fn test_cli() {
-    use insta_cmd::{assert_cmd_snapshot, get_cargo_bin, Command};
-    assert_cmd_snapshot!(Command::new(get_cargo_bin("hello")), @r###"
-    success: true
-    exit_code: 0
-    ----- stdout -----
-    Hello Bin!
-
-    ----- stderr -----
-    "###);
-}
Index: insta-cmd/examples/hello.rs
===================================================================
--- insta-cmd.orig/examples/hello.rs
+++ insta-cmd/examples/hello.rs
@@ -1,16 +1,3 @@
 fn main() {
     println!("Hello Example!");
 }
-
-#[test]
-fn test_cli() {
-    use insta_cmd::{assert_cmd_snapshot, get_cargo_example, Command};
-    assert_cmd_snapshot!(Command::new(get_cargo_example("hello")), @r###"
-    success: true
-    exit_code: 0
-    ----- stdout -----
-    Hello Example!
-
-    ----- stderr -----
-    "###);
-}