Share dir_files between segments through Context (#16)

This commit is contained in:
Matan Kushner
2019-04-23 14:51:08 -04:00
committed by GitHub
parent 33d8beda2d
commit bb2bcd604b
7 changed files with 83 additions and 58 deletions
+4
View File
@@ -23,6 +23,7 @@ fn home_directory() -> io::Result<()> {
}
#[test]
#[ignore]
fn directory_in_home() -> io::Result<()> {
let dir = Path::new("~/starship/engine");
@@ -37,6 +38,7 @@ fn directory_in_home() -> io::Result<()> {
}
#[test]
#[ignore]
fn truncated_directory_in_home() -> io::Result<()> {
let dir = Path::new("~/starship/engine/schematics");
@@ -65,6 +67,7 @@ fn root_directory() -> io::Result<()> {
}
#[test]
#[ignore]
fn directory_in_root() -> io::Result<()> {
let dir = Path::new("/private");
@@ -79,6 +82,7 @@ fn directory_in_root() -> io::Result<()> {
}
#[test]
#[ignore]
fn truncated_directory_in_root() -> io::Result<()> {
let dir = Path::new("/private/var/folders/3s");