diff options
author | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2014-12-03 09:51:18 +0100 |
---|---|---|
committer | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2014-12-03 09:51:18 +0100 |
commit | cc9db91e863c02bb831723beb12d154a0f3c1f5f (patch) | |
tree | 2bf2a365a3eed896a4949fa4b05b965ebe91b588 /test | |
parent | a20b9eb98458d3a52d6709c759babd855cb2732a (diff) | |
download | csv-cc9db91e863c02bb831723beb12d154a0f3c1f5f.zip csv-cc9db91e863c02bb831723beb12d154a0f3c1f5f.tar.gz csv-cc9db91e863c02bb831723beb12d154a0f3c1f5f.tar.bz2 |
fetchAssoc internal code improved
Diffstat (limited to 'test')
-rw-r--r-- | test/ReaderTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ReaderTest.php b/test/ReaderTest.php index 9cea8ca..5257a6b 100644 --- a/test/ReaderTest.php +++ b/test/ReaderTest.php @@ -200,7 +200,7 @@ class ReaderTest extends PHPUnit_Framework_TestCase /** * @expectedException \InvalidArgumentException - * @expectedExceptionMessage the column index must be a positive integer or 0 + * @expectedExceptionMessage the row index must be a positive integer or 0 */ public function testFetchAssocWithInvalidKey() { @@ -222,9 +222,9 @@ class ReaderTest extends PHPUnit_Framework_TestCase /** * @expectedException \InvalidArgumentException - * @expectedExceptionMessage Use a flat non empty array with unique string values + * @expectedExceptionMessage the specified row does not exist */ - public function testFetchAssocWithEmptyArr() + public function testFetchAssocWithInvalidOffset() { $arr = [ ['A', 'B', 'C'], |