Skip to content

Commit

Permalink
Merge pull request #1061 from Julow/fix-tests-240
Browse files Browse the repository at this point in the history
Update lower bounds and fix tests on < 4.10 and macos
  • Loading branch information
Julow committed Dec 12, 2023
2 parents 5b395bc + 59ebebe commit 2e2cc45
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 21 deletions.
5 changes: 3 additions & 2 deletions odoc-parser.opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
# Tests are not all associated with a package and would be run if using the
# default '@runtest'.
"@src/parser/runtest" {with-test}
]
]

2 changes: 1 addition & 1 deletion odoc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ depends: [

"ppx_expect" {with-test}
"bos" {with-test}
"crunch"
"crunch" {> "1.1.0"}

("ocaml" {< "4.07.0" & with-test} | "bisect_ppx" {with-test & > "2.5.0"})
]
Expand Down
1 change: 1 addition & 0 deletions src/parser/test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name odoc_parser_test)
(package odoc-parser)
(inline_tests)
(enabled_if
(>= %{ocaml_version} 4.04.1))
Expand Down
4 changes: 2 additions & 2 deletions test/generators/html/Bugs_pre_410.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Bugs_pre_410 (Bugs_pre_410)</title>
<link rel="stylesheet" href="odoc.css"/><meta charset="utf-8"/>
<head><title>Bugs_pre_410 (Bugs_pre_410)</title><meta charset="utf-8"/>
<link rel="stylesheet" href="odoc.css"/>
<meta name="generator" content="odoc %%VERSION%%"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<script src="highlight.pack.js"></script>
Expand Down
1 change: 0 additions & 1 deletion test/integration/simple_dune_project.t/bar.ml

This file was deleted.

3 changes: 0 additions & 3 deletions test/integration/simple_dune_project.t/dune

This file was deleted.

1 change: 0 additions & 1 deletion test/integration/simple_dune_project.t/dune-project

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion test/integration/simple_dune_project.t/foo.ml

This file was deleted.

10 changes: 0 additions & 10 deletions test/integration/simple_dune_project.t/run.t

This file was deleted.

0 comments on commit 2e2cc45

Please sign in to comment.