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

@ -192,11 +192,11 @@ fn duration_decimal_math() {
let actual = nu!(
cwd: "tests/fixtures/formats", pipeline(
r#"
= 0.5mon + 1day
= 5.5day + 0.5day
"#
));
assert_eq!(actual.out, "16day");
assert_eq!(actual.out, "6day");
}
#[test]