Fix expected age of mockup files in example tests (#3808)

This commit is contained in:
Jakub Žádník 2021-07-21 02:05:58 +03:00 committed by GitHub
parent 411435d68f
commit b7215b5dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,8 +49,8 @@ impl WholeStreamCommand for Command {
result: Some(vec![Value::from(one(r#"
|name|type|chickens|modified|
|-|-|-|-|
|Andres.txt|File|10|1 year ago|
|Jonathan|Dir|5|1 year ago|
|Andres.txt|File|10|2 years ago|
|Jonathan|Dir|5|2 years ago|
|Darren.txt|File|20|1 year ago|
|Yehuda|Dir|4|1 year ago|
"#))]),
@ -60,9 +60,9 @@ impl WholeStreamCommand for Command {
example: "ls | to md --pretty",
result: Some(vec![Value::from(one(r#"
| name | type | chickens | modified |
| ---------- | ---- | -------- | ---------- |
| Andres.txt | File | 10 | 1 year ago |
| Jonathan | Dir | 5 | 1 year ago |
| ---------- | ---- | -------- | ----------- |
| Andres.txt | File | 10 | 2 years ago |
| Jonathan | Dir | 5 | 2 years ago |
| Darren.txt | File | 20 | 1 year ago |
| Yehuda | Dir | 4 | 1 year ago |
"#))]),
@ -73,9 +73,9 @@ impl WholeStreamCommand for Command {
result: Some(vec![Value::from(one(r#"
# Welcome to Nushell
| name | type | chickens | modified |
| ---------- | ---- | -------- | ---------- |
| Andres.txt | File | 10 | 1 year ago |
| Jonathan | Dir | 5 | 1 year ago |
| ---------- | ---- | -------- | ----------- |
| Andres.txt | File | 10 | 2 years ago |
| Jonathan | Dir | 5 | 2 years ago |
"#))]),
}
]