Skip to content

Commit

Permalink
use feature gate for tests prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
saibatizoku committed Oct 12, 2021
1 parent 4b2e1be commit 12382bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chain-impl-mockchain/src/smartcontract/mod.rs
Expand Up @@ -126,14 +126,13 @@ impl Payload for Contract {

#[cfg(test)]
mod tests {
use super::*;
use typed_bytes::ByteBuilder;

#[cfg(feature = "evm")]
#[test]
fn test_readable_evm_contract() {
use super::*;
use chain_core::mempack::ReadBuf;
use typed_bytes::ByteArray;
use typed_bytes::{ByteArray, ByteBuilder};

let from = AccountAddress::random();
let to = None;
Expand Down

0 comments on commit 12382bc

Please sign in to comment.