* Make test culture independent
This commit is contained in:
parent
f3855b9cf2
commit
5b1beb68b5
|
|
@ -105,7 +105,7 @@ namespace Microsoft.Extensions.Localization.Tests
|
||||||
});
|
});
|
||||||
var expected = includeParentCultures
|
var expected = includeParentCultures
|
||||||
? "No manifests exist for the current culture."
|
? "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);
|
Assert.Equal(expected, exception.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue