Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfenjin committed Sep 30, 2023
1 parent 2eaa401 commit 2e3a946
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Config {
}

/// enable autoload extensions
pub fn autoloadable_extension(mut self, enabled: bool) -> Result<Config> {
pub fn enable_autoload_extension(mut self, enabled: bool) -> Result<Config> {
self.set("autoinstall_known_extensions", &(enabled as i32).to_string())?;
self.set("autoload_known_extensions", &(enabled as i32).to_string())?;
Ok(self)
Expand Down Expand Up @@ -181,6 +181,7 @@ mod test {
.default_order(crate::DefaultOrder::Desc)?
.enable_external_access(true)?
.enable_object_cache(false)?
.enable_autoload_extension(true)?
.allow_unsigned_extensions()?
.max_memory("2GB")?
.threads(4)?;
Expand Down

0 comments on commit 2e3a946

Please sign in to comment.