summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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());
}
/**