Skip to content

Commit

Permalink
fix(header): exporting test_header! macro
Browse files Browse the repository at this point in the history
That way, third-parties can keep using the `header!` macro, which
now requires the `test_header!` macro as well.

Considering the `header!` macro is exported and part of the public
API, it was not desired to prevent it's usage in any way.
  • Loading branch information
Byron committed Apr 30, 2015
1 parent 06d072b commit 2bc5a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/header/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ macro_rules! deref(
}
);

#[macro_export]
macro_rules! test_header {
($id:ident, $raw:expr) => {
#[test]
Expand Down

0 comments on commit 2bc5a77

Please sign in to comment.