Пример #1
0
        public void GetIniLinesTest()
        {
            var iniConfig = new IniConfig(_testLines);

            iniConfig["newKey"] = "newValue";
            iniConfig["abc"]    = "456";
            CollectionAssert.AreEquivalent(iniConfig.GetIniLines(),
                                           new List <string>
            {
                "ABC=456",
                "defgh=true",
                "newKey=newValue"
            });
        }