[commit: haddock] master: Update HTML tests (e27f116)

git at git.haskell.org git at git.haskell.org
Mon Nov 11 21:27:28 UTC 2013


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/e27f11697ccaa31ee43383207da9b710d10d278a

>---------------------------------------------------------------

commit e27f11697ccaa31ee43383207da9b710d10d278a
Author: Simon Hengel <sol at typeful.net>
Date:   Sat Nov 9 00:15:13 2013 +0100

    Update HTML tests


>---------------------------------------------------------------

e27f11697ccaa31ee43383207da9b710d10d278a
 .../ref/{Hyperlinks.html => Ticket253_1.html}      |   20 +++---
 html-test/ref/{Ticket75.html => Ticket253_2.html}  |   64 +++++++++-----------
 .../ref/{mini_Bug4.html => mini_Ticket253_1.html}  |    4 +-
 .../{mini_Ticket75.html => mini_Ticket253_2.html}  |   20 +++---
 4 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/html-test/ref/Hyperlinks.html b/html-test/ref/Ticket253_1.html
similarity index 86%
copy from html-test/ref/Hyperlinks.html
copy to html-test/ref/Ticket253_1.html
index 6224c9b..129096c 100644
--- a/html-test/ref/Hyperlinks.html
+++ b/html-test/ref/Ticket253_1.html
@@ -3,13 +3,13 @@
 ><head
   ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
      /><title
-    >Hyperlinks</title
+    >Ticket253_1</title
     ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean"
      /><script src="haddock-util.js" type="text/javascript"
     ></script
     ><script type="text/javascript"
     >//<![CDATA[
-window.onload = function () {pageLoad();setSynopsis("mini_Hyperlinks.html");};
+window.onload = function () {pageLoad();setSynopsis("mini_Ticket253_1.html");};
 //]]>
 </script
     ></head
@@ -39,7 +39,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hyperlinks.html");};
 	    ></tr
 	  ></table
 	><p class="caption"
-	>Hyperlinks</p
+	>Ticket253_1</p
 	></div
       ><div id="synopsis"
       ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')"
@@ -65,13 +65,17 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hyperlinks.html");};
 	    ></p
 	  ><div class="doc"
 	  ><p
-	    >A plain URL: <a href=""
-	      >http://example.com/</a
-	      >
+	    >See <code
+	      ><a href=""
+		>bar</a
+		></code
+	      >.
 </p
 	    ><p
-	    >A URL with a label: <a href=""
-	      >some link</a
+	    >Also see <code
+	      ><a href=""
+		>Baz</a
+		></code
 	      >
 </p
 	    ></div
diff --git a/html-test/ref/Ticket75.html b/html-test/ref/Ticket253_2.html
similarity index 85%
copy from html-test/ref/Ticket75.html
copy to html-test/ref/Ticket253_2.html
index bfbbbc7..d2f081f 100644
--- a/html-test/ref/Ticket75.html
+++ b/html-test/ref/Ticket253_2.html
@@ -3,13 +3,13 @@
 ><head
   ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
      /><title
-    >Ticket75</title
+    >Ticket253_2</title
     ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean"
      /><script src="haddock-util.js" type="text/javascript"
     ></script
     ><script type="text/javascript"
     >//<![CDATA[
-window.onload = function () {pageLoad();setSynopsis("mini_Ticket75.html");};
+window.onload = function () {pageLoad();setSynopsis("mini_Ticket253_2.html");};
 //]]>
 </script
     ></head
@@ -39,26 +39,26 @@ window.onload = function () {pageLoad();setSynopsis("mini_Ticket75.html");};
 	    ></tr
 	  ></table
 	><p class="caption"
-	>Ticket75</p
+	>Ticket253_2</p
 	></div
       ><div id="synopsis"
       ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')"
 	>Synopsis</p
 	><ul id="section.syn" class="hide" onclick="toggleSection('syn')"
 	><li class="src short"
-	  ><span class="keyword"
-	    >data</span
-	    >  a <a href=""
-	    >:-</a
-	    > b = <a href=""
-	    >Q</a
-	    ></li
-	  ><li class="src short"
 	  ><a href=""
-	    >f</a
+	    >bar</a
 	    > :: <a href=""
 	    >Int</a
 	    ></li
+	  ><li class="src short"
+	  ><span class="keyword"
+	    >data</span
+	    >  <a href=""
+	    >Baz</a
+	    >  = <a href=""
+	    >Baz</a
+	    ></li
 	  ></ul
 	></div
       ><div id="interface"
@@ -66,19 +66,32 @@ window.onload = function () {pageLoad();setSynopsis("mini_Ticket75.html");};
 	>Documentation</h1
 	><div class="top"
 	><p class="src"
+	  ><a name="v:bar" class="def"
+	    >bar</a
+	    > :: <a href=""
+	    >Int</a
+	    ></p
+	  ><div class="doc"
+	  ><p
+	    >Comment
+</p
+	    ></div
+	  ></div
+	><div class="top"
+	><p class="src"
 	  ><span class="keyword"
 	    >data</span
-	    >  a <a name="t::-45-" class="def"
-	    >:-</a
-	    > b </p
+	    >  <a name="t:Baz" class="def"
+	    >Baz</a
+	    >  </p
 	  ><div class="subs constructors"
 	  ><p class="caption"
 	    >Constructors</p
 	    ><table
 	    ><tr
 	      ><td class="src"
-		><a name="v:Q" class="def"
-		  >Q</a
+		><a name="v:Baz" class="def"
+		  >Baz</a
 		  ></td
 		><td class="doc empty"
 		> </td
@@ -86,23 +99,6 @@ window.onload = function () {pageLoad();setSynopsis("mini_Ticket75.html");};
 	      ></table
 	    ></div
 	  ></div
-	><div class="top"
-	><p class="src"
-	  ><a name="v:f" class="def"
-	    >f</a
-	    > :: <a href=""
-	    >Int</a
-	    ></p
-	  ><div class="doc"
-	  ><p
-	    >A reference to <code
-	      ><a href=""
-		>:-</a
-		></code
-	      >
-</p
-	    ></div
-	  ></div
 	></div
       ></div
     ><div id="footer"
diff --git a/html-test/ref/mini_Bug4.html b/html-test/ref/mini_Ticket253_1.html
similarity index 94%
copy from html-test/ref/mini_Bug4.html
copy to html-test/ref/mini_Ticket253_1.html
index b403e94..9d04945 100644
--- a/html-test/ref/mini_Bug4.html
+++ b/html-test/ref/mini_Ticket253_1.html
@@ -3,7 +3,7 @@
 ><head
   ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
      /><title
-    >Bug4</title
+    >Ticket253_1</title
     ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean"
      /><script src="haddock-util.js" type="text/javascript"
     ></script
@@ -16,7 +16,7 @@ window.onload = function () {pageLoad();};
   ><body id="mini"
   ><div id="module-header"
     ><p class="caption"
-      >Bug4</p
+      >Ticket253_1</p
       ></div
     ><div id="interface"
     ><div class="top"
diff --git a/html-test/ref/mini_Ticket75.html b/html-test/ref/mini_Ticket253_2.html
similarity index 88%
copy from html-test/ref/mini_Ticket75.html
copy to html-test/ref/mini_Ticket253_2.html
index 75ce882..603590a 100644
--- a/html-test/ref/mini_Ticket75.html
+++ b/html-test/ref/mini_Ticket253_2.html
@@ -3,7 +3,7 @@
 ><head
   ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
      /><title
-    >Ticket75</title
+    >Ticket253_2</title
     ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean"
      /><script src="haddock-util.js" type="text/javascript"
     ></script
@@ -16,22 +16,22 @@ window.onload = function () {pageLoad();};
   ><body id="mini"
   ><div id="module-header"
     ><p class="caption"
-      >Ticket75</p
+      >Ticket253_2</p
       ></div
     ><div id="interface"
     ><div class="top"
       ><p class="src"
-	><span class="keyword"
-	  >data</span
-	  > a <a href="" target="main"
-	  >:-</a
-	  > b</p
+	><a href="" target="main"
+	  >bar</a
+	  ></p
 	></div
       ><div class="top"
       ><p class="src"
-	><a href="" target="main"
-	  >f</a
-	  ></p
+	><span class="keyword"
+	  >data</span
+	  > <a href="" target="main"
+	  >Baz</a
+	  > </p
 	></div
       ></div
     ></body



More information about the ghc-commits mailing list