mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Convert some old array() calls to new [] syntax
This commit is contained in:
@@ -51,7 +51,7 @@ class SaveTest extends TestCase {
|
||||
|
||||
public function testSaveWithNewHeader() {
|
||||
$this->csv->linefeed = "\n";
|
||||
$this->csv->titles = array("NewTitle");
|
||||
$this->csv->titles = ["NewTitle"];
|
||||
$expected = "NewTitle\n0444\n5555\n";
|
||||
$this->saveAndCompare($expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user