1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-11-21 19:18:02 +00:00

Fix Max filename

This commit is contained in:
Mo 2023-08-14 14:54:37 +02:00
parent 737d27c78f
commit 5d6acdbc9e
4 changed files with 5 additions and 5 deletions

View file

@ -50,7 +50,7 @@ pub fn task() -> Task {
Check::builder()
.description("Looking for Max in the living room")
.validator(FileContent {
file: PathBuf::from("living_room/max.txt"),
file: PathBuf::from("living_room/Max.txt"),
expected: StringContent::Part("beatboxing"),
})
.hint("Did you add his hobby `beatboxing` to his file?")

View file

@ -26,7 +26,7 @@ pub fn task() -> Task {
.command(
Command::builder()
.program("ls")
.args(vec!["living_room/max.txt".into()])
.args(vec!["living_room/Max.txt".into()])
.stdout(StdioVariant::Null)
.stderr(StdioVariant::Null)
.stdin(StdioVariant::Null)
@ -41,7 +41,7 @@ pub fn task() -> Task {
Check::builder()
.description("Looking for Max")
.validator(FileContent {
file: PathBuf::from("bedroom/max.txt"),
file: PathBuf::from("bedroom/Max.txt"),
expected: StringContent::Part("beatboxing"),
})
.hint("Did you move Max into the bedroom? Does he still have his hobby?")

View file

@ -32,7 +32,7 @@ pub fn task() -> Task {
Check::builder()
.description("Looking for Max")
.validator(FileContent {
file: PathBuf::from("bedroom/max.txt"),
file: PathBuf::from("bedroom/Max.txt"),
expected: StringContent::Part("beatboxing"),
})
.hint("Is Max in the bedroom? Does he still have his hobby?")

View file

@ -64,7 +64,7 @@ Place Max in the living room by creating a file `Max.txt` in the living room con
Example:
```console
$ cat living_room/max.txt
$ cat living_room/Max.txt
He is watching TV.
His hobby is beatboxing.
```