grit-lib 0.5.21

Core library for the grit Git implementation
1
2
3
4
5
6
7
8
9
10
11
//! Conformance suite for [`grit_lib::refs::store::MemoryRefStore`].

use std::sync::Arc;

use grit_lib::refs::store::{MemoryRefStore, RefStore};
use grit_test_support::refstore_conformance::run_suite;

#[test]
fn memory_refstore_passes_conformance_suite() {
    run_suite(|| Arc::new(MemoryRefStore::new()) as Arc<dyn RefStore>);
}