extend it-expansion to externals (#1682)

* extend it-expansion to externals

* trim the carriage return for external strings
This commit is contained in:
Jonathan Turner
2020-04-30 07:09:14 +12:00
committed by GitHub
parent 73d5310c9c
commit db8219e798
4 changed files with 27 additions and 130 deletions

View File

@ -1,15 +1,5 @@
use nu_test_support::{nu, nu_error};
// #[test]
// fn shows_error_for_command_that_fails() {
// let actual = nu_error!(
// cwd: ".",
// "fail"
// );
// assert!(actual.contains("External command failed"));
// }
#[test]
fn shows_error_for_command_not_found() {
let actual = nu_error!(