/usr/share/php/tests/HTML_Table/tests/1.phpt is in php-html-table 1.8.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | --TEST--
1.phpt: addRow 1 row 1 column with no extra options
--FILE--
<?php
// $Id: 1.phpt 297540 2010-04-05 19:58:39Z wiesemann $
require_once 'HTML/Table.php';
$table = new HTML_Table();
$data[0][] = 'Test';
foreach($data as $key => $value) {
$table->addRow($value);
}
// output
echo $table->toHTML();
?>
--EXPECT--
<table>
<tr>
<td>Test</td>
</tr>
</table>
|