Tests: Add Missing copy command

should have been added with previous commit, would occastionaly have
caused tests to fail if tests run in random order
This commit is contained in:
andy.boot
2020-03-28 18:32:40 +00:00
parent bfa3594fe8
commit 342164d357
+2
View File
@@ -138,6 +138,8 @@ fn main_output_long_paths() -> String {
#[cfg_attr(target_os = "windows", ignore)]
#[test]
pub fn test_apparent_size() {
copy_test_data("src/test_dir");
let mut cmd = Command::cargo_bin("dust").unwrap();
let assert = cmd.arg("-c").arg("-s").arg("src/test_dir").unwrap().stdout;
let output = str::from_utf8(&assert).unwrap();