From aa469408db31235d1dce61bf333d6f8fdb08b6c3 Mon Sep 17 00:00:00 2001 From: Sophie Tauchert <999eagle@999eagle.moe> Date: Wed, 13 Jan 2021 11:13:49 +0100 Subject: [PATCH] Fix varying output lengths of inodes in integration test --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 7b4eb86..a085479 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -106,7 +106,7 @@ fn test_list_inode_populated_directory() { #[cfg(windows)] let matched = "- one\n\\- two\n$"; #[cfg(unix)] - let matched = "\\d+ one\n\\d+ two\n$"; + let matched = "\\d+ +one\n\\d+ +two\n$"; cmd() .arg("--inode") @@ -131,7 +131,7 @@ fn test_list_block_inode_populated_directory_without_long() { #[cfg(windows)] let matched = "- one\n\\- two\n$"; #[cfg(unix)] - let matched = "\\d+ one\n\\d+ two\n$"; + let matched = "\\d+ +one\n\\d+ +two\n$"; cmd() .arg("--blocks")