Skip to content

Commit 73d86fc

Browse files
committed
Fix formatting
1 parent bc33ba7 commit 73d86fc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/iis/Elastic.Apm.FullFramework.Tests/AppSettingsTests.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ private static void UpdateAppSettings(Dictionary<ConfigurationOption, string> va
3434
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
3535
var appSettings = (AppSettingsSection)config.GetSection("appSettings");
3636
appSettings.Settings.Clear();
37-
foreach (var v in values) appSettings.Settings.Add(v.Key.ToConfigKey(), v.Value);
37+
foreach (var v in values)
38+
appSettings.Settings.Add(v.Key.ToConfigKey(), v.Value);
3839
config.Save();
3940
ConfigurationManager.RefreshSection("appSettings");
4041
}
@@ -74,9 +75,10 @@ public void CustomFlushIntervalTest()
7475
public void CreateConfigurationReaderThroughApSettings()
7576
{
7677
var logger = new ConsoleLogger(LogLevel.Information);
77-
var config = new Dictionary<ConfigurationOption, string>();
78-
79-
config.Add(FullFrameworkConfigurationReaderType, ConfigType);
78+
var config = new Dictionary<ConfigurationOption, string>
79+
{
80+
{ FullFrameworkConfigurationReaderType, ConfigType }
81+
};
8082

8183
UpdateAppSettings(config);
8284

0 commit comments

Comments
 (0)