Skip to content

Commit

Permalink
Make tests.mlt pass with 4.07
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
  • Loading branch information
jeremiedimino committed Dec 12, 2018
1 parent 907b140 commit 025b8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit-tests/tests.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ val pkg : Sub_system_info.t Dune_package.Lib.t = <package:foo>
|}]

(* "foo" should depend on "baz" *)
Dune_package.Lib.requires pkg;;
Dune_package.Lib.requires pkg |> List.map ~f:snd;;

[%%expect{|
- : (Loc.t * Lib_name.t) list = [({start = <abstr>; stop = <abstr>}, "baz")]
- : Lib_name.t list = ["baz"]
|}]

(* Meta parsing/simplification *)
Expand Down

0 comments on commit 025b8d8

Please sign in to comment.