From 7614798e4ea9ddbdd078e17343019f1fdb1204c4 Mon Sep 17 00:00:00 2001 From: fdai7381 Date: Thu, 19 Jan 2023 15:22:29 +0100 Subject: [PATCH] refactoring: update cd test naming --- src/builtins/cd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtins/cd.rs b/src/builtins/cd.rs index 44dcca5..6127a27 100644 --- a/src/builtins/cd.rs +++ b/src/builtins/cd.rs @@ -21,12 +21,12 @@ mod tests { use std::path::Path; #[test] - fn cd_current() { + fn test_cd_current() { assert_eq!(Cd.execute(vec![".".to_string()]), Ok(())) } #[test] - fn cd_not_existent() { + fn test_cd_not_existent() { // find a path which does not exists let mut path = Path::new("test").to_path_buf(); while path.exists() {