diff --git a/src/Components/test/testassets/BasicTestApp/ErrorComponent.razor b/src/Components/test/testassets/BasicTestApp/ErrorComponent.razor index 369db93db0..62855e8935 100644 --- a/src/Components/test/testassets/BasicTestApp/ErrorComponent.razor +++ b/src/Components/test/testassets/BasicTestApp/ErrorComponent.razor @@ -11,6 +11,6 @@ void IncrementCount() { currentCount++; - throw new NotImplementedException("Doing crazy things!"); + throw new NotImplementedException("Doing something that won't work!"); } } diff --git a/src/Features/JsonPatch/test/Internal/ObjectVisitorTest.cs b/src/Features/JsonPatch/test/Internal/ObjectVisitorTest.cs index 44f6fc81ae..5a936bebdc 100644 --- a/src/Features/JsonPatch/test/Internal/ObjectVisitorTest.cs +++ b/src/Features/JsonPatch/test/Internal/ObjectVisitorTest.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal { public string Name { get; set; } public IList States { get; set; } = new List(); - public IDictionary Countries = new Dictionary(); + public IDictionary CountriesAndRegions = new Dictionary(); public dynamic Items { get; set; } = new ExpandoObject(); } @@ -62,14 +62,14 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal get { var model = new Class1(); - yield return new object[] { model, "/Countries/USA", model.Countries }; - yield return new object[] { model.Countries, "/USA", model.Countries }; + yield return new object[] { model, "/CountriesAndRegions/USA", model.CountriesAndRegions }; + yield return new object[] { model.CountriesAndRegions, "/USA", model.CountriesAndRegions }; var nestedModel = new Class1Nested(); nestedModel.Customers.Add(new Class1()); - yield return new object[] { nestedModel, "/Customers/0/Countries/USA", nestedModel.Customers[0].Countries }; - yield return new object[] { nestedModel.Customers, "/0/Countries/USA", nestedModel.Customers[0].Countries }; - yield return new object[] { nestedModel.Customers[0], "/Countries/USA", nestedModel.Customers[0].Countries }; + yield return new object[] { nestedModel, "/Customers/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; + yield return new object[] { nestedModel.Customers, "/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; + yield return new object[] { nestedModel.Customers[0], "/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions }; } }