Merge branch 'release/2.1' into release/2.2

\n\nCommit migrated from d94eb17013
This commit is contained in:
Nate McMaster 2018-11-05 16:20:37 -08:00
parent 09e84b256c
commit ac89e3e9bf
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace Microsoft.Extensions.Configuration.KeyPerFile.Test
public void ThrowsWhenNotOptionalAndDirectoryDoesntExist() public void ThrowsWhenNotOptionalAndDirectoryDoesntExist()
{ {
var e = Assert.Throws<ArgumentException>(() => new ConfigurationBuilder().AddKeyPerFile("nonexistent", false).Build()); var e = Assert.Throws<ArgumentException>(() => new ConfigurationBuilder().AddKeyPerFile("nonexistent", false).Build());
Assert.Contains("The directory name", e.Message); Assert.Contains("The path must be absolute.", e.Message);
} }
[Fact] [Fact]
@ -305,4 +305,4 @@ namespace Microsoft.Extensions.Configuration.KeyPerFile.Test
return new MemoryStream(Encoding.UTF8.GetBytes(_contents)); return new MemoryStream(Encoding.UTF8.GetBytes(_contents));
} }
} }
} }