diff options
author | Bruno Bigras <bigras.bruno@gmail.com> | 2019-08-16 15:01:09 -0400 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-08-16 15:01:09 -0400 |
commit | 7124e353db9a37f97c369d82fbc2c1e370a58174 (patch) | |
tree | b23a8d5640fb05a098e35dc14795a19102e50cc3 /tests/testsuite/directory.rs | |
parent | 5ad07bf2d9a84bad4deff5eeb31edf87273eb61f (diff) |
fix: Fix compilation on NixOS with sandboxing (#164)
Diffstat (limited to 'tests/testsuite/directory.rs')
-rw-r--r-- | tests/testsuite/directory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsuite/directory.rs b/tests/testsuite/directory.rs index a390c0abd..7bbafe9b2 100644 --- a/tests/testsuite/directory.rs +++ b/tests/testsuite/directory.rs @@ -72,11 +72,11 @@ fn root_directory() -> io::Result<()> { #[test] fn directory_in_root() -> io::Result<()> { let output = common::render_module("directory") - .arg("--path=/usr") + .arg("--path=/etc") .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = format!("in {} ", Color::Cyan.bold().paint("/usr")); + let expected = format!("in {} ", Color::Cyan.bold().paint("/etc")); assert_eq!(expected, actual); Ok(()) } |