OCaml Forge
SCM

Detail: [#1356] example is wrong

Bugs: Browse | Download .csv | Monitor

[#1356] example is wrong

Date:
2013-12-02 08:31
Priority:
3
State:
Open
Submitted by:
ygrek (ygrek)
Assigned to:
Nobody (None)
Severity:
None
Component:
Core
Product:
OUnit library
Resolution:
None
Version:
v2.0.0
 
URL:
http://ounit.forge.ocamlcore.org/api-ounit/index.html
Status:
Open
 
Summary:
example is wrong

Detailed description
In the following code (from the ocamldoc comments) :

open OUnit2;;

let my_program =
Conf.make_exec "my_program"
;;

let test1 test_ctxt =
assert_command (my_program test_ctxt) []
;;

let () =
run_test_tt_main ("test1" >:: test1)
;;

assert_command should take named ctxt parameter

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item