File: tests.ml

package info (click to toggle)
opam-file-format 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: ml: 2,356; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(**************************************************************************)
(*                                                                        *)
(*    Copyright 2020 OCamlPro                                             *)
(*                                                                        *)
(*  All rights reserved. This file is distributed under the terms of the  *)
(*  GNU Lesser General Public License version 2.1, with the special       *)
(*  exception on linking described in the file LICENSE.                   *)
(*                                                                        *)
(**************************************************************************)

module A = Alcotest

let _ =
  let tests =
    Oldpos.tests @ Fullpos.tests @ Versions.tests
    |> List.map (fun (n,t) ->
        n, List.map (fun (n,t) -> n, `Quick, t) t)
  in
  A.run "opam-file-format" tests