Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit fd1c65b

Browse files
authored
Update expected error message due to changes in file provider (#876)
1 parent 81f531d commit fd1c65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Config.KeyPerFile.Test/KeyPerFileTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void DoesNotThrowWhenOptionalAndDirectoryDoesntExist()
2828
public void ThrowsWhenNotOptionalAndDirectoryDoesntExist()
2929
{
3030
var e = Assert.Throws<ArgumentException>(() => new ConfigurationBuilder().AddKeyPerFile("nonexistent", false).Build());
31-
Assert.Contains("The directory name", e.Message);
31+
Assert.Contains("The path must be absolute.", e.Message);
3232
}
3333

3434
[Fact]
@@ -305,4 +305,4 @@ public Stream CreateReadStream()
305305
return new MemoryStream(Encoding.UTF8.GetBytes(_contents));
306306
}
307307
}
308-
}
308+
}

0 commit comments

Comments
 (0)