mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Add snapshot tests for Facets::execute
This commit is contained in:
parent
b9907997e4
commit
3a734af159
12 changed files with 139 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub fn default_db_snapshot_settings_for_test(name: Option<&str>) -> insta::Setti
|
|||
|
||||
#[macro_export]
|
||||
macro_rules! db_snap {
|
||||
($index:ident, $db_name:ident, $name:literal) => {
|
||||
($index:ident, $db_name:ident, $name:expr) => {
|
||||
let settings = $crate::snapshot_tests::default_db_snapshot_settings_for_test(Some(
|
||||
&format!("{}", $name),
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue