[OCaml][Test] Do not use Option, expand using match
authorVaivaswatha Nagaraj <vaivaswatha@zilliqa.com>
Fri, 26 Mar 2021 17:09:58 +0000 (22:39 +0530)
committerVaivaswatha Nagaraj <vaivaswatha@zilliqa.com>
Fri, 26 Mar 2021 17:11:29 +0000 (22:41 +0530)
commita502ac383e03af63fa5c5aa4c17c1d3aeade82d6
tree0a106be483b6f0776673a5a833ffde2feae9184d
parent6fc29e30dca8a724b16784ef6a9329d2fc023f66
[OCaml][Test] Do not use Option, expand using match

Option seems to be unsupported on the buildbot version
of OCaml. So expand the statements using a match.

Fixes buildbot failure due to
https://github.com/llvm/llvm-project/commit/c244cd72172ca8941f9f67fc183ade8afcd61c17
llvm/test/Bindings/OCaml/debuginfo.ml