Fix tests for Rust2018

This commit is contained in:
Jordan Petridis
2019-04-06 22:22:03 +03:00
parent 53e9db2f42
commit 73587ff47b
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -212,8 +212,8 @@ mod tests {
use failure::Error;
use futures::Future;
use database::{truncate_db, TEMPDIR};
use utils::get_feed;
use crate::database::{truncate_db, TEMPDIR};
use crate::utils::get_feed;
const URLS: &[(&str, &str)] = {
&[
-2
View File
@@ -177,8 +177,6 @@ pub fn get_feed(file_path: &str, id: i32) -> Feed {
#[cfg(test)]
mod tests {
extern crate tempdir;
use self::tempdir::TempDir;
use super::*;
use chrono::Duration;