Remove yr and mon (#3262)

* Remove `yr` and `mon`

* Remove usage of mon in test

* Fix test
This commit is contained in:
Mohammed Anas
2021-04-04 18:19:33 +00:00
committed by GitHub
parent 00acf22f5f
commit e5621dea58
6 changed files with 7 additions and 35 deletions

View File

@ -678,7 +678,7 @@ fn duration_overflow() {
let actual = nu!(
cwd: ".", pipeline(
r#"
ls | get modified | each { = $it + 1000000000000000000yr }
ls | get modified | each { = $it + 10000000000000000day }
"#)
);
@ -690,7 +690,7 @@ fn date_and_duration_overflow() {
let actual = nu!(
cwd: ".", pipeline(
r#"
ls | get modified | each { = $it + 1000000yr }
ls | get modified | each { = $it + 1000000000day }
"#)
);