diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2025-11-11 00:00:43 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2025-11-11 00:00:43 -0300 |
| commit | 3063608df6ff1668f683d9d22c57fea29d728d0d (patch) | |
| tree | 36be7f6c6d901c5984c045d4ce823bd24c37e9af /test | |
| parent | b5dbdaa989a86477669aac0bf342029e1d2b6028 (diff) | |
| download | Sakura-3063608df6ff1668f683d9d22c57fea29d728d0d.tar.gz Sakura-3063608df6ff1668f683d9d22c57fea29d728d0d.zip | |
migrating to erlang to attach to mnesia
Diffstat (limited to '')
| -rw-r--r-- | test/dune | 6 | ||||
| -rw-r--r-- | test/test_relational_engine.ml | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/test/dune b/test/dune deleted file mode 100644 index 2f3e5eb..0000000 --- a/test/dune +++ /dev/null @@ -1,6 +0,0 @@ -(library - (name test_relational_engine) - (libraries relational_engine) - (inline_tests) - (preprocess - (pps ppx_inline_test))) diff --git a/test/test_relational_engine.ml b/test/test_relational_engine.ml deleted file mode 100644 index 69a7df2..0000000 --- a/test/test_relational_engine.ml +++ /dev/null @@ -1,8 +0,0 @@ - -let%test _ = - let open Relational_engine.Disk.Executor in - let stream: history = [{state = _EMPTY_SHA_HASH_; files = StringMap.empty}] in - let locations: locations = StringMap.empty in - let (new_commit, _) = Result.get_ok @@ write (List.hd stream) locations ~filename:"trash" @@ Bytes.of_string "abc" in - let expected_state_hash = "bca39cc55b19274133ce57d0bea1ff794589f025d4bcf670c44d5d2811837830" in - new_commit.state = expected_state_hash |
