Skip to content

Commit

Permalink
chore: update rust test error
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Oct 14, 2024
1 parent 6e757f5 commit 4bd2bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/toolkit/src/resolve/path_start_with_alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mod test {
replacement: cwd.to_string_lossy().to_string(),
},
AliasItem::Complex {
find: StringOrRegex::String("react$".to_string()),
find: StringOrRegex::Regex(Regex::new("react$").unwrap()),
replacement: cwd.to_string_lossy().to_string(),
},
AliasItem::Complex {
Expand Down

0 comments on commit 4bd2bcb

Please sign in to comment.