Skip to content

Commit

Permalink
fix: cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Oct 14, 2024
1 parent 5525dab commit 66ebe80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/plugin_resolve/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ fn resolve_alias() {
replacement: cwd.join("components").to_string_lossy().to_string(),
},
AliasItem::Complex {
find: StringOrRegex::Regex(Regex::new("$__farm_regex:^/(utils)$").unwrap()),
find: StringOrRegex::String("$__farm_regex:^/(utils)$".to_string()),
replacement: cwd.join("$1").to_string_lossy().to_string(),
},
],
Expand Down

0 comments on commit 66ebe80

Please sign in to comment.