mirror of
https://github.com/nushell/nushell.git
synced 2025-07-02 23:51:49 +02:00
Fix string interpolation escaping (#4854)
This commit is contained in:
@ -218,6 +218,11 @@ fn string_interpolation_paren_test3() -> TestResult {
|
||||
run_test(r#"$"('(')("test")test(')')""#, "(testtest)")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn string_interpolation_escaping() -> TestResult {
|
||||
run_test(r#"$"hello\nworld" | lines | length"#, "2")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn capture_multiple_commands() -> TestResult {
|
||||
run_test(
|
||||
|
Reference in New Issue
Block a user