You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
@ -65,9 +65,9 @@ namespace MonoTests.System.Configuration
|
||||
{
|
||||
Directory.SetCurrentDirectory (tempFolder);
|
||||
|
||||
var currentAssembly = Assembly.GetExecutingAssembly ().Location;
|
||||
var currentAssembly = TestUtil.ThisApplicationPath;
|
||||
var config = ConfigurationManager.OpenExeConfiguration (currentAssembly);
|
||||
Assert.AreEqual ("Test/appSettings.config", config.AppSettings.File, "#A01");
|
||||
Assert.AreEqual ("Test-appSettings.config", config.AppSettings.File, "#A01");
|
||||
Assert.AreEqual ("foo", ConfigurationSettings.AppSettings["TestKey1"], "#A02");
|
||||
Assert.AreEqual ("bar", ConfigurationSettings.AppSettings["TestKey2"], "#A03");
|
||||
}
|
||||
|
Reference in New Issue
Block a user