mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 06:58:37 +02:00
Fix bug in date comparison (#842)
This commit is contained in:
@ -161,3 +161,8 @@ fn divide_duration() -> TestResult {
|
||||
fn divide_filesize() -> TestResult {
|
||||
run_test(r#"4mb / 4mb"#, "1")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn date_comparison() -> TestResult {
|
||||
run_test(r#"(date now) < ((date now) + 2min)"#, "true")
|
||||
}
|
||||
|
Reference in New Issue
Block a user