forked from extern/nushell
Test cases not needed for now.
This commit is contained in:
parent
652de43ead
commit
f120ce63f7
@ -2,24 +2,6 @@ mod helpers;
|
||||
|
||||
use helpers::in_directory as cwd;
|
||||
|
||||
#[test]
|
||||
fn enter() {
|
||||
nu!(output,
|
||||
cwd("tests/fixtures/formats"),
|
||||
r#"
|
||||
enter sgml_description.json
|
||||
cd glossary
|
||||
cd GlossDiv
|
||||
cd GlossList
|
||||
cd GlossEntry
|
||||
cd GlossSee
|
||||
ls | echo $it
|
||||
exit
|
||||
"#);
|
||||
|
||||
assert_eq!(output, "markup");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn lines() {
|
||||
nu!(output,
|
||||
@ -65,17 +47,6 @@ fn open_ini() {
|
||||
assert_eq!(output, "1234")
|
||||
}
|
||||
|
||||
//fn open_unknown_format_as_raw_single_value() {
|
||||
//nu!(output,
|
||||
// cwd("tests/fixtures/formats"),
|
||||
// "open skinfolds.unsupported | echo $it");
|
||||
|
||||
// does not pass on Windows
|
||||
// left: `"\"\\\"ABS:3.0-PEC:3.0\\\""`,
|
||||
// right: `"ABS:3.0-PEC:3.0"`'
|
||||
//assert_eq!(output, "ABS:3.0-PEC:3.0")
|
||||
//}
|
||||
|
||||
#[test]
|
||||
fn open_error_if_file_not_found() {
|
||||
nu_error!(output,
|
||||
|
Loading…
Reference in New Issue
Block a user