mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
Share dir_files between segments through Context (#16)
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user