Skip to content

Commit 9ddbca6

Browse files
committed
chore(mkdir): fix misleading comment about backspace character
Correct inaccurate comment in test_mkdir_control_characters. The test was actually checking space characters in directory names, not backspace characters as the comment incorrectly stated. This addresses reviewer feedback about the confusing comment.
1 parent eb2aee5 commit 9ddbca6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/by-util/test_mkdir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ fn test_mkdir_control_characters() {
580580
assert!(at.dir_exists("test\tname"));
581581
}
582582

583-
// Test backspace (space in name - should work on all systems)
583+
// Test space character in directory name (should work on all systems)
584584
scene.ucmd().arg("-p").arg("test name").succeeds();
585585
assert!(at.dir_exists("test name"));
586586

0 commit comments

Comments
 (0)