mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-17 08:06:15 +01:00
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.
This commit is contained 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;
|
||||
|
||||
Reference in New Issue
Block a user