From ae3cea7de673cf2beda5fc54a83f4853461762de Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 21 Sep 2016 19:52:24 -0700 Subject: [PATCH] Actually fix feature tests --- .travis.yml | 2 +- tests/types/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fab4d80..c9818eac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ before_script: - "./.travis/setup.sh" script: - cargo test -- cargo test --features $(cargo read-manifest | jq -r '.features|keys|map(select(. != "with-security-framework"))|join(" ")') +- cargo test --features "$(cargo read-manifest | jq -r '.features|keys|map(select(. != "with-security-framework"))|join(" ")')" diff --git a/tests/types/mod.rs b/tests/types/mod.rs index 91a53f9e..42cdba9d 100644 --- a/tests/types/mod.rs +++ b/tests/types/mod.rs @@ -3,10 +3,9 @@ use std::error; use std::f32; use std::f64; use std::fmt; -use std::io::{Read, Write}; use std::result; -use postgres::{Connection, TlsMode, Result}; +use postgres::{Connection, TlsMode}; use postgres::error::Error; use postgres::types::{ToSql, FromSql, WrongType, Type, IsNull, Kind, SessionInfo};