merge main

This commit is contained in:
JT 2021-09-07 06:07:41 +12:00
commit f91d0d6d65

View File

@ -236,3 +236,21 @@ fn concrete_variable_assignment() -> TestResult {
"100",
)
}
#[test]
fn build_string1() -> TestResult {
run_test("build-string 'nu' 'shell'", "nushell")
}
#[test]
fn build_string2() -> TestResult {
run_test("'nu' | each {build-string $it 'shell'}", "nushell")
}
#[test]
fn build_string3() -> TestResult {
run_test(
"build-string 'nu' 'shell' | each {build-string $it ' rocks'}",
"nushell rocks",
)
}