diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-12-30 23:49:34 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-12-30 23:49:34 +0000 |
commit | 20ff64217d4b4cd2bc3d07c276c1334cf9b415a8 (patch) | |
tree | 8cc5cf0c487a733e3c40c7ece5035df156e5b24c | |
parent | 223ddc429497ddbb7257a75128194e25106a69e3 (diff) | |
parent | b7f64c4da55ed6faacbbfa665825e5d1326aa8ee (diff) | |
download | swig-20ff64217d4b4cd2bc3d07c276c1334cf9b415a8.tar.gz |
Merge branch 'OCaml-rename_rstrip_encoder-using2-runtime-tests'
* OCaml-rename_rstrip_encoder-using2-runtime-tests:
Complete copy of testcase from Python
[OCaml] Runtime tests for rename_rstrip_encoder and using2
-rw-r--r-- | Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml | 7 | ||||
-rw-r--r-- | Examples/test-suite/ocaml/using2_runme.ml | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml new file mode 100644 index 000000000..88be24fcb --- /dev/null +++ b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml @@ -0,0 +1,7 @@ +open Swig +open Rename_rstrip_encoder + +let s = new_SomeThing '() +let a = new_AnotherThing '() in + assert (a -> DoClsX () = C_void); +;; diff --git a/Examples/test-suite/ocaml/using2_runme.ml b/Examples/test-suite/ocaml/using2_runme.ml new file mode 100644 index 000000000..1ec9e2e55 --- /dev/null +++ b/Examples/test-suite/ocaml/using2_runme.ml @@ -0,0 +1,4 @@ +open Swig +open Using2 + +let _ = assert (_spam '(37) as int = 37) |