forked from extern/nushell
Simplify expressions (#3389)
* WIP: experiment with simpler expressions * fix simple invoke * update tests * fix a few tests * Make paren parsing more robust * fix external args * Remove old invocation * Update tests * Update tests
This commit is contained in:
@ -34,7 +34,7 @@ fn automatically_change_directory() {
|
||||
cwd: dirs.test(),
|
||||
r#"
|
||||
autodir
|
||||
echo $(pwd)
|
||||
echo (pwd)
|
||||
"#
|
||||
);
|
||||
|
||||
@ -300,7 +300,7 @@ mod external_command_arguments {
|
||||
let actual = nu!(
|
||||
cwd: dirs.test(), pipeline(
|
||||
r#"
|
||||
nu --testbin cococo $(ls | get name)
|
||||
nu --testbin cococo (ls | get name)
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user