From 117a583760e72247f35d686cdd90866cb98bb17c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 1 Mar 2021 18:17:37 -0600 Subject: Fix spelling of RemoveUnusedNamespaces. --- src/WixToolset.Converters/WixConverter.cs | 6 +++--- .../WixToolsetTest.Converters.Symbolizer.csproj | 2 +- src/test/WixToolsetTest.Converters/ConverterFixture.cs | 2 +- .../WixToolsetTest.Converters.csproj | 14 +------------- 4 files changed, 6 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Converters/WixConverter.cs b/src/WixToolset.Converters/WixConverter.cs index 83053725..3348e49c 100644 --- a/src/WixToolset.Converters/WixConverter.cs +++ b/src/WixToolset.Converters/WixConverter.cs @@ -290,7 +290,7 @@ namespace WixToolset.Converters // Start converting the nodes at the top. this.ConvertNodes(document.Nodes(), 0); - this.RemoveUnusedNamspaces(document.Root); + this.RemoveUnusedNamespaces(document.Root); return this.Errors; } @@ -343,7 +343,7 @@ namespace WixToolset.Converters // Start converting the nodes at the top. this.ConvertNodes(document.Nodes(), 0); - this.RemoveUnusedNamspaces(document.Root); + this.RemoveUnusedNamespaces(document.Root); return this.Errors; } @@ -1557,7 +1557,7 @@ namespace WixToolset.Converters /// Removes unused namespaces from the element and its children. /// /// Root element to start at. - private void RemoveUnusedNamspaces(XElement root) + private void RemoveUnusedNamespaces(XElement root) { var declarations = new List(); var namespaces = new HashSet(); diff --git a/src/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj b/src/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj index 57ff1968..995d9297 100644 --- a/src/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj +++ b/src/test/WixToolsetTest.Converters.Symbolizer/WixToolsetTest.Converters.Symbolizer.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/test/WixToolsetTest.Converters/ConverterFixture.cs b/src/test/WixToolsetTest.Converters/ConverterFixture.cs index 4d815247..39521da0 100644 --- a/src/test/WixToolsetTest.Converters/ConverterFixture.cs +++ b/src/test/WixToolsetTest.Converters/ConverterFixture.cs @@ -157,7 +157,7 @@ namespace WixToolsetTest.Converters } [Fact] - public void CanConvertExtensionNamespace() + public void CanRemoveUnusedNamespaces() { var parse = String.Join(Environment.NewLine, "", diff --git a/src/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj b/src/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj index 902494a2..8b525497 100644 --- a/src/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj +++ b/src/test/WixToolsetTest.Converters/WixToolsetTest.Converters.csproj @@ -8,19 +8,7 @@ - - - - - - - - - - - - - + -- cgit v1.2.3-55-g6feb