move scope variable into nu variable (#4725)

This commit is contained in:
JT
2022-03-04 11:36:11 -05:00
committed by GitHub
parent eef3de2d05
commit e64ca97fe2
8 changed files with 349 additions and 355 deletions

View File

@ -78,7 +78,7 @@ fn help_works_with_missing_requirements() -> TestResult {
#[test]
fn scope_variable() -> TestResult {
run_test(
r#"let x = 3; $scope.vars | where name == "$x" | get type.0"#,
r#"let x = 3; $nu.scope.vars | where name == "$x" | get type.0"#,
"int",
)
}