Skip to content

Commit

Permalink
Refactor test imports (#264)
Browse files Browse the repository at this point in the history
* Refactor test imports

* Fix formatting
  • Loading branch information
KiChjang authored Aug 27, 2021
1 parent 50a2bb0 commit f14f56d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions validation/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ use crate::Error;
use alloc::string::String;
use parity_wasm::elements::{Local, ValueType};

#[cfg(test)]
use assert_matches::assert_matches;

/// Locals are the concatenation of a slice of function parameters
/// with function declared local variables.
///
Expand Down Expand Up @@ -81,6 +78,7 @@ impl<'a> Locals<'a> {
#[cfg(test)]
mod tests {
use super::*;
use assert_matches::assert_matches;

#[test]
fn locals_it_works() {
Expand Down

0 comments on commit f14f56d

Please sign in to comment.