Update worktree randomized test to use worktree's public interface and the fake fs
This commit is contained in:
parent
be5868e1c0
commit
c730dca3c5
5 changed files with 191 additions and 159 deletions
|
@ -14,6 +14,14 @@ use std::{cell::RefCell, os::unix, rc::Rc, task::Poll};
|
|||
use unindent::Unindent as _;
|
||||
use util::{assert_set_eq, test::temp_tree};
|
||||
|
||||
#[cfg(test)]
|
||||
#[ctor::ctor]
|
||||
fn init_logger() {
|
||||
if std::env::var("RUST_LOG").is_ok() {
|
||||
env_logger::init();
|
||||
}
|
||||
}
|
||||
|
||||
#[gpui::test]
|
||||
async fn test_symlinks(cx: &mut gpui::TestAppContext) {
|
||||
let dir = temp_tree(json!({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue