Skip to content

Commit

Permalink
refactor(lib): remove empty macros
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Byron committed Jun 11, 2015
1 parent a260b13 commit f59d97d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/lib.rs.in
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit f59d97d

Please sign in to comment.