Skip to content

Commit 8046c19

Browse files
authored
Merge pull request #80 from ocaml-opam/pin-list-hash
update pin format parsing to handle hashes
2 parents d915346 + 30b8d40 commit 8046c19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/utils.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ let check_pinned path ?kind wished =
247247
| Some k ->
248248
OpamStd.List.filter_map (fun l ->
249249
match l with
250-
| nv::"(uninstalled)"::kind::_url::([_]|[])
251-
| nv::kind::_url::([_]|[]) ->
250+
| nv::"(uninstalled)"::kind::_url::([_;_]|[])
251+
| nv::kind::_url::([_;_]|[]) ->
252252
if kind= k then Some nv else None
253253
| _ -> None) packages
254254
in

0 commit comments

Comments
 (0)