mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user