parent
1901f0af98
commit
4c6a2b4f06
|
@ -521,12 +521,10 @@ EOD
|
|||
key1 = "1"
|
||||
key2 = "2"
|
||||
|
||||
|
||||
[two]
|
||||
a.b = "c"
|
||||
d.e = "f"
|
||||
|
||||
|
||||
[three]
|
||||
key = "value"
|
||||
foo.bar = "raboof"
|
||||
|
@ -537,12 +535,10 @@ EOD;
|
|||
key = "value"
|
||||
foo.bar = "raboof"
|
||||
|
||||
|
||||
[two]
|
||||
a.b = "c"
|
||||
d.e = "f"
|
||||
|
||||
|
||||
[one]
|
||||
key1 = "1"
|
||||
key2 = "2"
|
||||
|
@ -589,7 +585,6 @@ EOD;
|
|||
; comment 1
|
||||
[one]
|
||||
|
||||
|
||||
; comment 2
|
||||
[two]
|
||||
EOD;
|
||||
|
@ -598,7 +593,6 @@ EOD;
|
|||
; comment 2
|
||||
[two]
|
||||
|
||||
|
||||
; comment 1
|
||||
[one]
|
||||
EOD;
|
||||
|
@ -637,8 +631,8 @@ EOD;
|
|||
);
|
||||
|
||||
$this->assertEquals(
|
||||
$config,
|
||||
$writer->render(),
|
||||
trim($config),
|
||||
trim($writer->render()),
|
||||
'IniWriter does not preserve comments on empty lines'
|
||||
);
|
||||
}
|
||||
|
@ -667,8 +661,8 @@ EOD;
|
|||
);
|
||||
|
||||
$this->assertEquals(
|
||||
$config,
|
||||
$writer->render(),
|
||||
trim($config),
|
||||
trim($writer->render()),
|
||||
'IniWriter does not preserve comments on property lines'
|
||||
);
|
||||
}
|
||||
|
@ -686,8 +680,8 @@ EOD;
|
|||
);
|
||||
|
||||
$this->assertEquals(
|
||||
$config,
|
||||
$writer->render(),
|
||||
trim($config),
|
||||
trim($writer->render()),
|
||||
'IniWriter does not preserve comments on empty section lines'
|
||||
);
|
||||
}
|
||||
|
@ -719,8 +713,8 @@ EOD;
|
|||
);
|
||||
|
||||
$this->assertEquals(
|
||||
$config,
|
||||
$writer->render(),
|
||||
trim($config),
|
||||
trim($writer->render()),
|
||||
'IniWriter does not preserve comments on property lines'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue