Tighten how input streams handle nothing, and related (#2847)

This commit is contained in:
Jonathan Turner
2021-01-03 14:22:44 +13:00
committed by GitHub
parent a5f7600f6f
commit 77f915befe
8 changed files with 99 additions and 63 deletions

View File

@@ -33,13 +33,6 @@ fn all() {
})
}
#[test]
fn outputs_zero_with_no_input() {
let actual = nu!(cwd: ".", "math sum");
assert_eq!(actual.out, "0");
}
#[test]
#[allow(clippy::unreadable_literal)]
#[allow(clippy::float_cmp)]