We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2274684 commit a2a322dCopy full SHA for a2a322d
tests/hivescan/mod.rs
@@ -1 +1,2 @@
1
-mod testhive;
+mod testhive;
2
+mod new_dirty_hive1;
tests/hivescan/new_dirty_hive1.rs
@@ -0,0 +1,15 @@
+use std::path::PathBuf;
+
3
+use assert_cmd::Command;
4
5
+#[test]
6
+fn scan_new_dirty_hive1() {
7
+ let mut cmd = Command::cargo_bin("hivescan").unwrap();
8
+ let mut data_path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap());
9
+ data_path.push("tests");
10
+ data_path.push("data");
11
+ data_path.push("hivescan");
12
+ data_path.push("NewDirtyHive1");
13
+ data_path.push("NewDirtyHive");
14
+ cmd.arg(data_path).assert().success();
15
+}
0 commit comments