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