File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public function testlistPagesAll()
175175 'permission ' => 8 ,
176176 'size ' => filesize ($ file1 ),
177177 'revision ' => filemtime ($ file1 ),
178- 'hash ' => md5 (io_readFile ($ file1 )),
178+ 'hash ' => md5 (trim ( io_readFile ($ file1) )),
179179 'author ' => '' ,
180180 ],
181181 [
@@ -184,7 +184,7 @@ public function testlistPagesAll()
184184 'permission ' => 8 ,
185185 'size ' => filesize ($ file2 ),
186186 'revision ' => filemtime ($ file2 ),
187- 'hash ' => md5 (io_readFile ($ file2 )),
187+ 'hash ' => md5 (trim ( io_readFile ($ file2) )),
188188 'author ' => '' ,
189189 ]
190190 ];
@@ -438,7 +438,7 @@ public function testGetPageInfo()
438438 'id ' => $ id ,
439439 'revision ' => $ rev2 ,
440440 'author ' => 'testuser ' ,
441- 'hash ' => md5 (io_readFile ($ file )),
441+ 'hash ' => md5 (trim ( io_readFile ($ file) )),
442442 'title ' => $ id ,
443443 'size ' => filesize ($ file ),
444444 'permission ' => 8 ,
You can’t perform that action at this time.
0 commit comments