Fix varying output lengths of inodes in integration test

This commit is contained in:
Sophie Tauchert 2021-01-13 11:13:49 +01:00 committed by Abin Simon
parent d4fbedd1e4
commit aa469408db

View file

@ -106,7 +106,7 @@ fn test_list_inode_populated_directory() {
#[cfg(windows)] #[cfg(windows)]
let matched = "- one\n\\- two\n$"; let matched = "- one\n\\- two\n$";
#[cfg(unix)] #[cfg(unix)]
let matched = "\\d+ one\n\\d+ two\n$"; let matched = "\\d+ +one\n\\d+ +two\n$";
cmd() cmd()
.arg("--inode") .arg("--inode")
@ -131,7 +131,7 @@ fn test_list_block_inode_populated_directory_without_long() {
#[cfg(windows)] #[cfg(windows)]
let matched = "- one\n\\- two\n$"; let matched = "- one\n\\- two\n$";
#[cfg(unix)] #[cfg(unix)]
let matched = "\\d+ one\n\\d+ two\n$"; let matched = "\\d+ +one\n\\d+ +two\n$";
cmd() cmd()
.arg("--blocks") .arg("--blocks")