<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-11 16:10:34 +0900 (Sat, 11 Aug 2012)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2">047b99a7ad311a79a5991ed1d1bcea15c4cecff2</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">Truncate long test name</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#diff-0">lib/groonga/tester.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/groonga/tester.rb (+21 -3)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1315">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1316">1316</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1317">1317</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1318">1318</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1319">1319</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1320">1320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1321">1321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1322">1322</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1323">1323</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1324">1324</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1325">1325</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1326">1326</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1381">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1382">1382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1383">1383</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1384">1384</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1385">1385</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1386">1386</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1387">1387</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1493">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1494">1494</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1495">1495</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1496">1496</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1497">1497</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1498">1498</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1499">1499</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1500">1500</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1501">1501</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1502">1502</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0L1503">1503</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1315">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1316">1316</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1317">1317</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1318">1318</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1319">1319</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1320">1320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1321">1321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1322">1322</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1323">1323</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1324">1324</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1325">1325</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1326">1326</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1327">1327</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1328">1328</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1329">1329</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1330">1330</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1331">1331</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1332">1332</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1333">1333</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1334">1334</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1335">1335</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1336">1336</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1337">1337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1338">1338</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1339">1339</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1394">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1395">1395</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1396">1396</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1397">1397</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1398">1398</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1399">1399</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1400">1400</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1401">1401</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1402">1402</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1403">1403</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1404">1404</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1510">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1511">1511</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1512">1512</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1513">1513</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1514">1514</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1515">1515</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1516">1516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1517">1517</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1518">1518</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1519">1519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1520">1520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/047b99a7ad311a79a5991ed1d1bcea15c4cecff2#L0R1521">1521</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1316,11 +1316,24 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">EOF</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def report_test_result(result, label)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- message = " %10.4fs [%s]" % [result.elapsed_time, label]</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ message = test_result_message(result, label)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> message = message.rjust(@term_width - @current_column) if @term_width > 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> puts(message)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ def test_result_message(result, label)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ " %7.4fs [%s]" % [result.elapsed_time, label]</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ def max_test_result_width</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @max_test_result_width ||= guess_max_test_result_width</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ def guess_max_test_result_width</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ result = Result.new</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ test_result_message(result, "not checked").bytesize</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def justify(message, width)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return " " * width if message.nil?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return message.ljust(width) if message.bytesize <= width</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1382,6 +1395,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">EOF</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def start_test(worker)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> label = " #{worker.test_name}"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if @term_width > 0</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ width = @term_width - @current_column - max_test_result_width</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ label = justify(label, width)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> print(label)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @output.flush</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1494,10 +1511,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">EOF</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def draw_test_line(worker)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> clear_line</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if worker.test_name</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- puts(" #{worker.test_name}")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ label = " #{worker.test_name}"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> else</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- puts(" #{worker.statistics}")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ label = " #{worker.statistics}"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ puts(justify(label, @term_width))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def redraw</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>