Revert "Alias to keywords (eg source) (#4835)" (#4841)

This reverts commit c023d4111a.
This commit is contained in:
JT
2022-03-13 13:38:16 -07:00
committed by GitHub
parent 6e65aef9bf
commit 54d9fff4f2
4 changed files with 4 additions and 30 deletions

View File

@ -1,13 +0,0 @@
use nu_test_support::{nu, pipeline};
#[test]
fn echo_range_is_lazy() {
let actual = nu!(
cwd: "tests/fixtures/formats", pipeline(
r#"
alias bar = source sample_def.nu; bar; greet
"#
));
assert_eq!(actual.out, "hello");
}