I am trying to use the new `:pact_verifier` module...
# pact-beam
j
I am trying to use the new
:pact_verifier
module to verify my pacts. But I can't seem to get it to work. I have tried following the test code as closely as possible, but I am getting the following error.
Copy code
escript: exception error: no match of right hand side value {error,bad_directory}
  in function  erl_eval:expr/6 (erl_eval.erl, line 498)
  in call from escript:eval_exprs/5 (escript.erl, line 869)
  in call from erl_eval:local_func/8 (erl_eval.erl, line 646)
  in call from escript:interpret/4 (escript.erl, line 780)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
escript: exception error: no match of right hand side value {error,bad_directory}
  in function  erl_eval:expr/6 (erl_eval.erl, line 498)
  in call from escript:eval_exprs/5 (escript.erl, line 869)
  in call from erl_eval:local_func/8 (erl_eval.erl, line 646)
  in call from escript:interpret/4 (escript.erl, line 780)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3
I can't seem to figure out what is going wrong with this one.
p
hi @Justin Wood, are you running this outside of erlang/elixir CT/UT ?. If yes, its a known issue. Please raise an issue for this, will fix as soon as i get time for this.
j
This is being run from ExUnit. I'm assuming CT is common test, but I'm not sure what UT is.