summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-08-08 10:30:17 +0200
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-08-08 10:30:17 +0200
commitf585b92a68d6c3bcdb7c06cc1bb6366fe1a29ad5 (patch)
treeb4e4151f1068143e51c74f283ee9dc2572867280 /test
parent17b119cf1d1b47bdf07df83a2e319be56abc4b46 (diff)
downloadcsv-f585b92a68d6c3bcdb7c06cc1bb6366fe1a29ad5.zip
csv-f585b92a68d6c3bcdb7c06cc1bb6366fe1a29ad5.tar.gz
csv-f585b92a68d6c3bcdb7c06cc1bb6366fe1a29ad5.tar.bz2
added missing test
Diffstat (limited to 'test')
-rw-r--r--test/CsvTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CsvTest.php b/test/CsvTest.php
index 88508e3..e252f26 100644
--- a/test/CsvTest.php
+++ b/test/CsvTest.php
@@ -295,6 +295,9 @@ EOF;
$csv = Reader::createFromPath(new SplFileInfo($filter));
$this->assertTrue($csv->hasStreamFilter('string.toupper'));
$this->assertSame(STREAM_FILTER_READ, $csv->getStreamFilterMode());
+
+ $csv = new Reader(new SplFileInfo($filter));
+ $this->assertSame(STREAM_FILTER_READ, $csv->getStreamFilterMode());
}
/**