forked from extern/nushell
Fix string interp/shorthand overlap (#3412)
This commit is contained in:
@ -137,6 +137,18 @@ fn string_interpolation_with_it_column_path() {
|
||||
assert_eq!(actual.out, "sammie");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn string_interpolation_shorthand_overlap() {
|
||||
let actual = nu!(
|
||||
cwd: ".",
|
||||
r#"
|
||||
$"3 + 4 = {3 + 4}"
|
||||
"#
|
||||
);
|
||||
|
||||
assert_eq!(actual.out, "3 + 4 = 7");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn bignum_large_integer() {
|
||||
let actual = nu!(
|
||||
|
Reference in New Issue
Block a user