mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Add 'and' and 'or' operators (#5297)
This commit is contained in:
@ -409,3 +409,8 @@ fn unary_not_6() -> TestResult {
|
||||
fn date_literal() -> TestResult {
|
||||
run_test(r#"2022-09-10 | date to-record | get day"#, "10")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn and_and_or() -> TestResult {
|
||||
run_test(r#"true and false or true"#, "true")
|
||||
}
|
||||
|
Reference in New Issue
Block a user