mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-22 13:08:04 +00:00
Fix Max filename
This commit is contained in:
parent
737d27c78f
commit
5d6acdbc9e
4 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ pub fn task() -> Task {
|
||||||
Check::builder()
|
Check::builder()
|
||||||
.description("Looking for Max in the living room")
|
.description("Looking for Max in the living room")
|
||||||
.validator(FileContent {
|
.validator(FileContent {
|
||||||
file: PathBuf::from("living_room/max.txt"),
|
file: PathBuf::from("living_room/Max.txt"),
|
||||||
expected: StringContent::Part("beatboxing"),
|
expected: StringContent::Part("beatboxing"),
|
||||||
})
|
})
|
||||||
.hint("Did you add his hobby `beatboxing` to his file?")
|
.hint("Did you add his hobby `beatboxing` to his file?")
|
||||||
|
|
|
@ -26,7 +26,7 @@ pub fn task() -> Task {
|
||||||
.command(
|
.command(
|
||||||
Command::builder()
|
Command::builder()
|
||||||
.program("ls")
|
.program("ls")
|
||||||
.args(vec!["living_room/max.txt".into()])
|
.args(vec!["living_room/Max.txt".into()])
|
||||||
.stdout(StdioVariant::Null)
|
.stdout(StdioVariant::Null)
|
||||||
.stderr(StdioVariant::Null)
|
.stderr(StdioVariant::Null)
|
||||||
.stdin(StdioVariant::Null)
|
.stdin(StdioVariant::Null)
|
||||||
|
@ -41,7 +41,7 @@ pub fn task() -> Task {
|
||||||
Check::builder()
|
Check::builder()
|
||||||
.description("Looking for Max")
|
.description("Looking for Max")
|
||||||
.validator(FileContent {
|
.validator(FileContent {
|
||||||
file: PathBuf::from("bedroom/max.txt"),
|
file: PathBuf::from("bedroom/Max.txt"),
|
||||||
expected: StringContent::Part("beatboxing"),
|
expected: StringContent::Part("beatboxing"),
|
||||||
})
|
})
|
||||||
.hint("Did you move Max into the bedroom? Does he still have his hobby?")
|
.hint("Did you move Max into the bedroom? Does he still have his hobby?")
|
||||||
|
|
|
@ -32,7 +32,7 @@ pub fn task() -> Task {
|
||||||
Check::builder()
|
Check::builder()
|
||||||
.description("Looking for Max")
|
.description("Looking for Max")
|
||||||
.validator(FileContent {
|
.validator(FileContent {
|
||||||
file: PathBuf::from("bedroom/max.txt"),
|
file: PathBuf::from("bedroom/Max.txt"),
|
||||||
expected: StringContent::Part("beatboxing"),
|
expected: StringContent::Part("beatboxing"),
|
||||||
})
|
})
|
||||||
.hint("Is Max in the bedroom? Does he still have his hobby?")
|
.hint("Is Max in the bedroom? Does he still have his hobby?")
|
||||||
|
|
|
@ -64,7 +64,7 @@ Place Max in the living room by creating a file `Max.txt` in the living room con
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cat living_room/max.txt
|
$ cat living_room/Max.txt
|
||||||
He is watching TV.
|
He is watching TV.
|
||||||
His hobby is beatboxing.
|
His hobby is beatboxing.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue