diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-05-06 16:40:54 +0200 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-05-06 16:44:25 +0200 |
| commit | a5efd7d15b4d049a4ed539ed5d9c2f1037d00973 (patch) | |
| tree | 9b1f002f487b94c8ec7a6b37b761f2d2def10208 /test/splay_tree.ml | |
| parent | ae4814880d7a2ad9c96e8f4001edf5032b9a7fb2 (diff) | |
Use the double dash as arguments in tests
Diffstat (limited to 'test/splay_tree.ml')
| -rw-r--r-- | test/splay_tree.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/splay_tree.ml b/test/splay_tree.ml index 318fc96..acd2f2b 100644 --- a/test/splay_tree.ml +++ b/test/splay_tree.ml @@ -14,13 +14,13 @@ let tree : unit T.t ref = ref (T.empty ()) let speclist = [ - ( "-add", + ( "--add", Arg.Int (fun n -> tree := T.add n () !tree), "Add an element in the tree" ); - ( "-del", + ( "--del", Arg.Int (fun n -> tree := T.remove n !tree), "Remove an element from the tree" ); - ( "-get", + ( "--get", Arg.Int (fun n -> ignore @@ T.find n !tree), "Get an element from the tree" ); ] |
