Skip to content

Commit

Permalink
correct package expect test file path
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyuzhai committed Nov 30, 2023
1 parent f4c2b39 commit 17b0544
Show file tree
Hide file tree
Showing 47 changed files with 3,537 additions and 13,666 deletions.
Empty file.
4 changes: 2 additions & 2 deletions crates/fs/husky-vfs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod file;
mod lsp_support;
pub mod path;
pub mod snippet;
#[cfg(feature = "test-utils")]
#[cfg(debug_assertions)]
pub mod test_utils;
#[cfg(test)]
mod tests;
Expand All @@ -22,7 +22,7 @@ pub use self::cache::VfsCache;
#[cfg(feature = "lsp_support")]
pub use self::lsp_support::*;
pub use self::path::*;
#[cfg(feature = "test-utils")]
#[cfg(debug_assertions)]
pub use self::test_utils::*;
pub use self::toolchain::*;
// pub use self::watch::{VfsWatcher, WatchableVfsDb, WatchedVfs};
Expand Down
2 changes: 1 addition & 1 deletion crates/fs/husky-vfs/src/test_utils/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl VfsTestUnit for PackagePath {
config: &VfsTestConfig,
) -> PathBuf {
package_expect_files_dir
.with_extension(config.test_name)
.join(config.test_name)
.with_extension(config.expect_file_extension())
}

Expand Down

This file was deleted.

Loading

0 comments on commit 17b0544

Please sign in to comment.