From ab30604033cddf5a1eb84b50f17009304a6e289c Mon Sep 17 00:00:00 2001 From: Jeff Baskin Date: Thu, 15 Dec 2022 12:20:40 -0500 Subject: [PATCH] Writes out contents of the cache. --- src/morethantext/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/morethantext/mod.rs b/src/morethantext/mod.rs index 48a0f0c..c499d33 100644 --- a/src/morethantext/mod.rs +++ b/src/morethantext/mod.rs @@ -162,6 +162,12 @@ mod cache { #[async_std::test] async fn ids_are_random() { + let mtt = MTT::new().await; + mtt.db.new_id().await; + } + + #[async_std::test] + async fn entry_ids_are_random() { let mtt = MTT::new().await; let data1 = CacheEntry::Raw("one".to_string()); let data2 = CacheEntry::Raw("two".to_string());