Skip to content

Commit

Permalink
Re-add cfg_attr
Browse files Browse the repository at this point in the history
  • Loading branch information
ebma committed Aug 24, 2023
1 parent be03684 commit d67244a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/oracle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ mod ext;
mod benchmarking;

mod default_weights;

#[cfg(test)]
#[cfg_attr(test, cfg(feature = "testing-utils"))]
mod tests;

#[cfg(feature = "testing-utils")]
Expand All @@ -41,6 +43,7 @@ pub use dia_oracle::{CoinInfo, DiaOracle, PriceInfo};
pub use orml_oracle::{DataFeeder, DataProvider, TimestampedValue};

#[cfg(test)]
#[cfg_attr(test, cfg(feature = "testing-utils"))]
pub mod mock;

#[cfg(feature = "testing-utils")]
Expand Down

0 comments on commit d67244a

Please sign in to comment.