From 1bc6aacc36096198faa7d1e9f0a266650c7d9969 Mon Sep 17 00:00:00 2001 From: discord9 Date: Mon, 17 Jun 2024 16:23:57 +0800 Subject: [PATCH] chore: missing #[test] --- sqlness/src/interceptor/template.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlness/src/interceptor/template.rs b/sqlness/src/interceptor/template.rs index e63b59e..d4a0f9b 100644 --- a/sqlness/src/interceptor/template.rs +++ b/sqlness/src/interceptor/template.rs @@ -121,6 +121,7 @@ mod tests { ); } + #[test] fn range_template() { let interceptor = TemplateInterceptorFactory.try_new(r#""#).unwrap(); @@ -133,8 +134,7 @@ mod tests { ] .map(|v| v.to_string()) .to_vec(); - interceptor - .before_execute(&mut input, &mut crate::QueryContext::default()); + interceptor.before_execute(&mut input, &mut crate::QueryContext::default()); assert_eq!( input,