fix broken tests
test-debugcomplete.t broken by 58e58406ed19
test-highlight.t broken by b24e5a708fad
--- a/tests/test-debugcomplete.t Sat Apr 30 03:44:31 2011 -0500
+++ b/tests/test-debugcomplete.t Sat Apr 30 11:16:52 2011 +0200
@@ -234,7 +234,7 @@
debugstate: nodates, datesort
debugsub: rev
debugwalk: include, exclude
- debugwireargs: three, four, ssh, remotecmd, insecure
+ debugwireargs: three, four, five, ssh, remotecmd, insecure
grep: print0, all, text, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
heads: rev, topo, active, closed, style, template
help:
--- a/tests/test-highlight.t Sat Apr 30 03:44:31 2011 -0500
+++ b/tests/test-highlight.t Sat Apr 30 11:16:52 2011 +0200
@@ -65,6 +65,7 @@
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
+ <script type="text/javascript" src="/static/mercurial.js"></script>
<link rel="stylesheet" href="/highlightcss" type="text/css" />
<title>test: 853dcd4de2a6 primes.py</title>
@@ -120,7 +121,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
+ <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
</tr>
<tr>
<th class="author">parents</th>
@@ -173,6 +174,7 @@
</div>
</div>
+ <script type="text/javascript">process_dates()</script>
</body>
@@ -191,6 +193,7 @@
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
+ <script type="text/javascript" src="/static/mercurial.js"></script>
<link rel="stylesheet" href="/highlightcss" type="text/css" />
<title>test: primes.py annotate</title>
@@ -248,7 +251,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
+ <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
</tr>
<tr>
<th class="author">parents</th>
@@ -497,6 +500,7 @@
</div>
</div>
+ <script type="text/javascript">process_dates()</script>
</body>