From 40dbc328456003484716021cc317156967f1b2c1 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 21 Feb 2015 17:14:17 -0800 Subject: [PATCH] Move tests to phf_macros --- .travis.yml | 1 + phf_macros/Cargo.toml | 4 ++++ {phf => phf_macros}/tests/test.rs | 0 3 files changed, 5 insertions(+) rename {phf => phf_macros}/tests/test.rs (100%) diff --git a/.travis.yml b/.travis.yml index 3975954d..dbaae89a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: rust script: - (cd phf && cargo test) +- (cd phf_macros && cargo test) - (cd phf_macros && cargo test --features stats) - ./.travis/build_docs.sh after_success: diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml index bd1a39f7..b367de52 100644 --- a/phf_macros/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -25,3 +25,7 @@ version = "=0.6.9" [dependencies.time] version = "0.1" optional = true + +[dev-dependencies.phf] +path = "../phf" +version = "=0.6.9" diff --git a/phf/tests/test.rs b/phf_macros/tests/test.rs similarity index 100% rename from phf/tests/test.rs rename to phf_macros/tests/test.rs