Skip to content

Commit e3e0091

Browse files
committed
Add more expected test cases for ls implementations
Some trainees are doing a bit less than I was expecting when originally setting this.
1 parent 4350f48 commit e3e0091

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

implement-shell-tools/ls/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Your task is to implement your own version of `ls`.
66

77
It must act the same as `ls` would, if run from the directory containing this README.md file, for the following command lines:
88

9+
* `ls sample-files`
10+
* `ls sample-files/1.txt`
11+
* `ls sample-files/*`
912
* `ls -1`
1013
* `ls -1 sample-files`
1114
* `ls -1 -a sample-files`

0 commit comments

Comments
 (0)