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 <[email protected]>
  • Loading branch information
jonludlam committed Jul 3, 2020
1 parent a608bfa commit 6ac6357
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 @@ -596,9 +596,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 @@ -611,21 +608,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 @@ -596,9 +596,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 @@ -611,21 +608,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 6ac6357

Please sign in to comment.