From 5b1beb68b5102e4526d2a50e4d9f41ca9fdee7c3 Mon Sep 17 00:00:00 2001 From: ryanbrandenburg Date: Tue, 5 Jan 2016 09:45:10 -0800 Subject: [PATCH] * Make test culture independent --- .../ResourceManagerStringLocalizerTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs b/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs index ef8a6f074c..6cae4c48f4 100644 --- a/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs +++ b/test/Microsoft.Extensions.Localization.Tests/ResourceManagerStringLocalizerTest.cs @@ -105,7 +105,7 @@ namespace Microsoft.Extensions.Localization.Tests }); var expected = includeParentCultures ? "No manifests exist for the current culture." - : "The manifest 'testington.en-US.resources' was not found."; + : $"The manifest 'testington.{CultureInfo.CurrentCulture}.resources' was not found."; Assert.Equal(expected, exception.Message); }