upgrade bracoxide to v0.1.4 (fixes #14290) (#14296)

I'm  sorry I'm not following the PR template but this is a quick fix.

Fixes #14290
This commit is contained in:
A. Taha Baki
2024-11-10 16:00:42 +03:00
committed by GitHub
parent 6c7129cc0c
commit 8f9b198d48
3 changed files with 18 additions and 4 deletions

View File

@ -307,6 +307,20 @@ fn str_expand(contents: &str, span: Span, value_span: Span) -> Value {
mod tests {
use super::*;
#[test]
fn test_outer_single_item() {
assert_eq!(
str_expand("{W{x,y}}", Span::test_data(), Span::test_data()),
Value::list(
vec![
Value::string(String::from("Wx"), Span::test_data(),),
Value::string(String::from("Wy"), Span::test_data(),)
],
Span::test_data(),
)
);
}
#[test]
fn dots() {
assert_eq!(