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

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalabasquer committed May 8, 2017
1 parent 5c1199c commit 31cc0a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,14 @@ contract Test is DSTest {
m.set(c1);
m.set(c2);
m.set(c3);
assertEq(m.indexes(c2), bytes12(2));

m.set(2, c5);
assertEq(m.indexes(c2), 0);

m.set(c2);
m.poke();
assertHasValue(m, 6 ether);
}

function testNoValueWhenNoPoke() {
Expand Down

0 comments on commit 31cc0a8

Please sign in to comment.