Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Dimino committed May 1, 2018
1 parent afa4b80 commit 0324e18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit-tests/tests.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ let conf =
~toolchain:"tlc" ~context:"<context>"

[%%expect{|
val conf : Jbuilder.Findlib.Config.t =
val conf : Dune.Findlib.Config.t =
{ vars =
[ (FOO_BAR, { set_rules =
[ { preds_required = [ "tlc"; "env" ]
Expand All @@ -103,11 +103,11 @@ let env_pp fmt env = Sexp.pp fmt (Env.sexp_of_t env);;
#install_printer env_pp;;

[%%expect{|
val env_pp : Format.formatter -> Jbuilder.Env.t -> unit = <fun>
val env_pp : Format.formatter -> Dune.Env.t -> unit = <fun>
|}]

let env = Findlib.Config.env conf

[%%expect{|
val env : Jbuilder.Env.t = ((FOO_BAR "my variable"))
val env : Dune.Env.t = ((FOO_BAR "my variable"))
|}]

0 comments on commit 0324e18

Please sign in to comment.