From c275cd29e04cda4d18445445e2cfdd0bb0b5f054 Mon Sep 17 00:00:00 2001 From: gwenn Date: Tue, 25 Jun 2019 20:47:32 +0200 Subject: [PATCH] Fix tests --- src/functions.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/functions.rs b/src/functions.rs index 27351ad..06f681d 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -688,7 +688,9 @@ mod test { use std::f64::EPSILON; use std::os::raw::c_double; - use crate::functions::{Aggregate, Context, WindowAggregate}; + use crate::functions::{Aggregate, Context}; + #[cfg(feature = "window")] + use crate::functions::WindowAggregate; use crate::{Connection, Error, Result, NO_PARAMS}; fn half(ctx: &Context<'_>) -> Result {