From 7124e353db9a37f97c369d82fbc2c1e370a58174 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Fri, 16 Aug 2019 15:01:09 -0400 Subject: [PATCH] fix: Fix compilation on NixOS with sandboxing (#164) --- tests/testsuite/directory.rs | 4 ++-- 1 file 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(()) }