diff options
author | Levente Kurusa <lkurusa@kernelstuff.org> | 2023-04-19 23:30:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 23:30:52 +0200 |
commit | c33675588117aad0b8fabfa5816676d95ba8067e (patch) | |
tree | 49cfb08f08a1345b0381f347a393cb397a9c8ce5 /cli/tools/test.rs | |
parent | a8ca09f78a26c16ed07bcffd23f1f9f486fa04e4 (diff) |
fix(test/coverage): exclude test files (#18748)
Fixes: #18454
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 977073ab7..853307374 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1518,7 +1518,7 @@ async fn test_specifiers( } /// Checks if the path has a basename and extension Deno supports for tests. -fn is_supported_test_path(path: &Path) -> bool { +pub(crate) fn is_supported_test_path(path: &Path) -> bool { if let Some(name) = path.file_stem() { let basename = name.to_string_lossy(); (basename.ends_with("_test") |