Registry testing - part 13
This commit is contained in:
@@ -74,7 +74,7 @@ impl IfBlock {
|
||||
}
|
||||
|
||||
impl Expression {
|
||||
fn parse(token_map: &TokenMap, expr: &str) -> Self {
|
||||
pub fn parse(token_map: &TokenMap, expr: &str) -> Self {
|
||||
ExpressionParser::new(Tokenizer::new(expr, token_map))
|
||||
.parse()
|
||||
.unwrap()
|
||||
|
||||
@@ -36,6 +36,11 @@ impl LookupStores {
|
||||
.await
|
||||
.map(InMemoryStore::Store)
|
||||
}
|
||||
#[cfg(feature = "sqlite")]
|
||||
LookupStore::Sqlite(sqlite_store) => {
|
||||
crate::backend::sqlite::SqliteStore::open(sqlite_store)
|
||||
.map(InMemoryStore::Store)
|
||||
}
|
||||
// SPDX-SnippetBegin
|
||||
// SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <hello@stalw.art>
|
||||
// SPDX-License-Identifier: LicenseRef-SEL
|
||||
|
||||
Reference in New Issue
Block a user