8000 Update assert error message · symfony/symfony@a1a631a · GitHub
[go: up one dir, main page]

Skip to content

Commit a1a631a

Browse files
authored
Update assert error message
1 parent e5d62e6 commit a1a631a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Factory/DiactorosFactoryTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function testUploadErrNoFile()
167167
$file = new UploadedFile('', '', null, 0, UPLOAD_ERR_NO_FILE, true);
168168
$this->assertEquals(0, $file->getSize());
169169
$this->assertEquals(UPLOAD_ERR_NO_FILE, $file->getError());
170-
$this->assertFalse($file->getSize());
170+
$this->assertFalse($file->getSize(), 'SplFile::getSize() returns false on error');
171171
$this->assertInternalType('integer', $file->getClientSize());
172172

173173
$request = new Request(array(), array(), array(), array(),

0 commit comments

Comments
 (0)
0