mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 13:42:34 +00:00
Fix varying output lengths of inodes in integration test
This commit is contained in:
parent
d4fbedd1e4
commit
aa469408db
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue