diff options
author | Daniel Hofstetter <daniel.hofstetter@42dh.com> | 2022-11-30 10:37:59 +0100 |
---|---|---|
committer | Daniel Hofstetter <daniel.hofstetter@42dh.com> | 2022-12-01 13:49:23 +0100 |
commit | 9a2174ba02bad81513746db9e37ab46f553d11f9 (patch) | |
tree | d51637a12dc8dd0aa1b031abbc9dfe066dfa0b3b /tests/by-util/test_ls.rs | |
parent | efa0fd498b42cf44383b9e08dc6e2c52551c96d6 (diff) |
chore: standardize creation of empty strings
Diffstat (limited to 'tests/by-util/test_ls.rs')
-rw-r--r-- | tests/by-util/test_ls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index c84fdd4f0..159f21de3 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -1174,7 +1174,7 @@ fn test_ls_long_symlink_color() { captures.get(1).unwrap().as_str().to_string(), captures.get(2).unwrap().as_str().to_string(), ), - None => ("".to_string(), input.to_string()), + None => (String::new(), input.to_string()), } } |