mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Fix tests, like the TODO said
This commit is contained in:
@@ -6,7 +6,7 @@ namespace DICUI.Data
|
||||
{
|
||||
public class Options : IDictionary<string, string>
|
||||
{
|
||||
private Dictionary<string, string> _settings = new Dictionary<string, string>();
|
||||
private Dictionary<string, string> _settings;
|
||||
|
||||
#region Internal Program
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace DICUI.Data
|
||||
/// <param name="settings"></param>
|
||||
public Options(Dictionary<string, string> settings = null)
|
||||
{
|
||||
this._settings = settings;
|
||||
this._settings = settings ?? new Dictionary<string, string>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -141,12 +141,6 @@ namespace DICUI.Utilities
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Empty constructor for testing only
|
||||
/// </summary>
|
||||
/// TODO: Remove this and fix tests
|
||||
public DumpEnvironment() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for a full DumpEnvironment object from user information
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user