mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 01:07:48 +02:00
Improve escaping in string interpolation (#4982)
This commit is contained in:
@ -345,6 +345,11 @@ fn string_escape_interpolation() -> TestResult {
|
||||
run_test(r#"$"\u015B(char hamburger)abc""#, "ś≡abc")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn string_escape_interpolation2() -> TestResult {
|
||||
run_test(r#"$"2 + 2 is \(2 + 2)""#, "2 + 2 is (2 + 2)")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn proper_rest_types() -> TestResult {
|
||||
run_test(
|
||||
|
Reference in New Issue
Block a user