Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
refactor mempool test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Sep 26, 2019
1 parent dce96b6 commit ec46ca5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/mempool/src/tests/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ fn test_insert() {
// 1. insertion under pool size.
insert!(normal(100, 100, 100));

// 2. insertion above pool size.
insert!(normal(100, 101, 100));

// 3. repeat insertion
// 2. repeat insertion
insert!(repeat(5, 200, 200));

// 4. invalid insertion
// 3. invalid insertion
insert!(invalid(80, 10, 80));
}

Expand Down

0 comments on commit ec46ca5

Please sign in to comment.