Skip to content

Commit

Permalink
Remove troublesome test cases from Ocamlary
Browse files Browse the repository at this point in the history
These cause html5-tidy to fail, and it's not yet clear where to fix
the issue. They're not particularly important for testing Odoc's
core functionality so I'm disabling them for now.

See ocsigen/tyxml#264 for more info

Signed-off-by: Jon Ludlam <jon@recoil.org>
  • Loading branch information
jonludlam committed Apr 20, 2020
1 parent 908e13e commit be86970
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
15 changes: 9 additions & 6 deletions test/html/cases/ocamlary.mli
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,17 @@ val ( $ ) : unit

val ( % ) : unit

(* Disabling the following four until we figure out what to do about
https://github.com/ocsigen/tyxml/issues/264
val ( ^ ) : unit
val ( < ) : unit
val ( > ) : unit
val ( -| ) : unit *)

val ( & ) : unit

val ( * ) : unit
Expand All @@ -268,16 +277,10 @@ val ( - ) : unit

val ( + ) : unit

val ( < ) : unit

val ( > ) : unit

val ( -? ) : unit

val ( / ) : unit

val ( -| ) : unit

val ( := ) : unit

val ( = ) : unit
Expand Down
12 changes: 0 additions & 12 deletions test/html/expect/test_package+ml/Ocamlary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,6 @@ <h4 id="some-operators">
<dt class="spec value" id="val-(%)">
<a href="#val-(%)" class="anchor"></a><code><span class="keyword">val</span> (%) : unit</code>
</dt>
<dt class="spec value" id="val-(^)">
<a href="#val-(^)" class="anchor"></a><code><span class="keyword">val</span> (^) : unit</code>
</dt>
<dt class="spec value" id="val-(&amp;)">
<a href="#val-(&amp;)" class="anchor"></a><code><span class="keyword">val</span> (&amp;) : unit</code>
</dt>
Expand All @@ -666,21 +663,12 @@ <h4 id="some-operators">
<dt class="spec value" id="val-(+)">
<a href="#val-(+)" class="anchor"></a><code><span class="keyword">val</span> (+) : unit</code>
</dt>
<dt class="spec value" id="val-(<)">
<a href="#val-(<)" class="anchor"></a><code><span class="keyword">val</span> (&lt;) : unit</code>
</dt>
<dt class="spec value" id="val-(>)">
<a href="#val-(>)" class="anchor"></a><code><span class="keyword">val</span> (&gt;) : unit</code>
</dt>
<dt class="spec value" id="val-(-?)">
<a href="#val-(-?)" class="anchor"></a><code><span class="keyword">val</span> (-?) : unit</code>
</dt>
<dt class="spec value" id="val-(/)">
<a href="#val-(/)" class="anchor"></a><code><span class="keyword">val</span> (/) : unit</code>
</dt>
<dt class="spec value" id="val-(-|)">
<a href="#val-(-|)" class="anchor"></a><code><span class="keyword">val</span> (-|) : unit</code>
</dt>
<dt class="spec value" id="val-(:=)">
<a href="#val-(:=)" class="anchor"></a><code><span class="keyword">val</span> (:=) : unit</code>
</dt>
Expand Down
12 changes: 0 additions & 12 deletions test/html/expect/test_package+re/Ocamlary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,6 @@ <h4 id="some-operators">
<dt class="spec value" id="val-(%)">
<a href="#val-(%)" class="anchor"></a><code><span class="keyword">let</span> (%): unit;</code>
</dt>
<dt class="spec value" id="val-(^)">
<a href="#val-(^)" class="anchor"></a><code><span class="keyword">let</span> (^): unit;</code>
</dt>
<dt class="spec value" id="val-(&amp;)">
<a href="#val-(&amp;)" class="anchor"></a><code><span class="keyword">let</span> (&amp;): unit;</code>
</dt>
Expand All @@ -666,21 +663,12 @@ <h4 id="some-operators">
<dt class="spec value" id="val-(+)">
<a href="#val-(+)" class="anchor"></a><code><span class="keyword">let</span> (+): unit;</code>
</dt>
<dt class="spec value" id="val-(<)">
<a href="#val-(<)" class="anchor"></a><code><span class="keyword">let</span> (&lt;): unit;</code>
</dt>
<dt class="spec value" id="val-(>)">
<a href="#val-(>)" class="anchor"></a><code><span class="keyword">let</span> (&gt;): unit;</code>
</dt>
<dt class="spec value" id="val-(-?)">
<a href="#val-(-?)" class="anchor"></a><code><span class="keyword">let</span> (-?): unit;</code>
</dt>
<dt class="spec value" id="val-(/)">
<a href="#val-(/)" class="anchor"></a><code><span class="keyword">let</span> (/): unit;</code>
</dt>
<dt class="spec value" id="val-(-|)">
<a href="#val-(-|)" class="anchor"></a><code><span class="keyword">let</span> (-|): unit;</code>
</dt>
<dt class="spec value" id="val-(:=)">
<a href="#val-(:=)" class="anchor"></a><code><span class="keyword">let</span> (:=): unit;</code>
</dt>
Expand Down

0 comments on commit be86970

Please sign in to comment.