update tests

This commit is contained in:
qdequele
2020-02-13 10:25:37 +01:00
parent 4986adc186
commit ce8e12c7c5
6 changed files with 68 additions and 32 deletions

View File

@ -25,7 +25,7 @@ pub fn main() -> Result<(), MainError> {
let data = Data::new(opt.clone());
if env::var("MEILI_NO_ANALYTICS") == Err(NotPresent) {
thread::spawn(|| analytics::analytics_sender());
thread::spawn(analytics::analytics_sender);
}
let data_cloned = data.clone();