Fix expect tests
This commit is contained in:
parent
92f0b7daaa
commit
745e58039b
|
@ -7,13 +7,13 @@ open Import;;
|
|||
open Action.Infer.Outcome;;
|
||||
|
||||
let p = Path.of_string;;
|
||||
let infer a =
|
||||
let infer (a : Action.t) =
|
||||
let x = Action.Infer.infer a in
|
||||
(List.map (Path.Set.elements x.deps) ~f:Path.to_string,
|
||||
List.map (Path.Set.elements x.targets) ~f:Path.to_string)
|
||||
[%%expect{|
|
||||
val p : string -> Jbuilder.Path.t = <fun>
|
||||
val infer : Jbuilder__Action.t -> string list * string list = <fun>
|
||||
val infer : Jbuilder.Action.t -> string list * string list = <fun>
|
||||
|}]
|
||||
|
||||
infer (Copy (p "a", p "b"));;
|
||||
|
|
Loading…
Reference in New Issue