We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b80b3df commit e274c7aCopy full SHA for e274c7a
tests/data/script-test.rs
@@ -1,2 +1,4 @@
1
+fn main() {}
2
+
3
#[test]
4
fn test() {}
tests/tests/script.rs
@@ -89,6 +89,7 @@ fn test_script_short_without_main() {
89
fn test_script_test() {
90
let out = rust_script!("--test", "tests/data/script-test.rs").unwrap();
91
assert!(out.success());
92
+ assert!(out.stdout.contains("running 1 test"));
93
}
94
95
0 commit comments