Writes out contents of the cache.
This commit is contained in:
		@@ -162,6 +162,12 @@ mod cache {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    #[async_std::test]
 | 
					    #[async_std::test]
 | 
				
			||||||
    async fn ids_are_random() {
 | 
					    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 mtt = MTT::new().await;
 | 
				
			||||||
        let data1 = CacheEntry::Raw("one".to_string());
 | 
					        let data1 = CacheEntry::Raw("one".to_string());
 | 
				
			||||||
        let data2 = CacheEntry::Raw("two".to_string());
 | 
					        let data2 = CacheEntry::Raw("two".to_string());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user