diff --git a/Cargo.lock b/Cargo.lock index 4f006235a..4265cf820 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3140,7 +3140,6 @@ dependencies = [ "nu-errors", "nu-protocol", "nu-source", - "nu-test-support", "num-traits 0.2.12", ] diff --git a/tests/shell/mod.rs b/tests/shell/mod.rs index 967c4cfeb..1e2d60142 100644 --- a/tests/shell/mod.rs +++ b/tests/shell/mod.rs @@ -7,7 +7,12 @@ fn plugins_are_declared_with_wix() { let actual = nu!( cwd: ".", pipeline( r#" - open Cargo.toml | get bin.name | drop | sort-by | wrap cargo | merge { + open Cargo.toml + | get bin.name + | str find-replace "nu_plugin_(extra|core)_(.*)" "nu_plugin_$2" + | drop + | sort-by + | wrap cargo | merge { open wix/main.wxs --raw | from xml | get Wix.children.Product.children.0.Directory.children.0 | where Directory.attributes.Id == "$(var.PlatformProgramFilesFolder)"