Introduced ability to open csv documents.

This commit is contained in:
Andrés N. Robalino
2019-07-19 15:11:49 -05:00
parent d4ecf6dfa5
commit 895a1b2d72
11 changed files with 134 additions and 9 deletions

View File

@ -12,6 +12,15 @@ fn lines() {
assert_eq!(output, "rustyline");
}
#[test]
fn open_csv() {
nu!(output,
cwd("tests/fixtures/formats"),
"open caco3_plastics.csv | get root | first 1 | get origin | echo $it");
assert_eq!(output, "SPAIN");
}
#[test]
fn open_toml() {
nu!(output,