This commit is contained in:
Issac Trotts 2019-08-24 14:55:42 -07:00
parent 5a72f6db56
commit af2439e880

View file

@ -89,3 +89,14 @@ fn can_filter_by_unit_size_comparison() {
assert_eq!(output, "caco3_plastics.csv");
}
#[test]
fn can_get_last() {
nu!(
output,
cwd("tests/fixtures/formats"),
"ls | last 1 | get name | trim | echo $it"
);
assert_eq!(output, "utf16.ini");
}