Skip to content

Commit 9a8ed63

Browse files
committed
fix compile issue
1 parent 54f210b commit 9a8ed63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/script_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn main() {
4646
let args = Arguments::from_args();
4747
let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
4848

49-
let tests = discover_all_tests(manifest_dir, |p| p.starts_with("tests"))
49+
let tests = discover_all_tests(manifest_dir, |p| p.path.starts_with("tests"))
5050
.into_iter()
5151
.map(|t| Trial::test(t.name(), move || t.execute()))
5252
.collect::<Vec<_>>();

0 commit comments

Comments
 (0)