From f59d97d4c53387b4d01b42b4d595e04a678a006a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 11 Jun 2015 11:49:38 +0200 Subject: [PATCH] refactor(lib): remove empty macros Even though these made `cargo build` work, I think what's really needed in the long run is to make it work for `cargo test` as well. --- src/lib.rs.in | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/lib.rs.in b/src/lib.rs.in index ee74a7d1d..babb64c57 100644 --- a/src/lib.rs.in +++ b/src/lib.rs.in @@ -1,22 +1,3 @@ -/// NOTE: This makes `cargo build` work, but `cargo test` still fails as these -/// override the macros that should come from `yup_hyper_mock` -#[cfg(not(test))] -macro_rules! mock_connector ( - ($name:ident { - $($url:expr => $res:expr)* - }) => ( - ) -); - -#[cfg(not(test))] -macro_rules! mock_connector_in_order ( - ($name:ident { - $( $res:expr )* - }) => ( - ) -); - - extern crate serde; extern crate chrono;