Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Schott committed Oct 10, 2019
1 parent 5124688 commit a33f1dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/treemap.d
Original file line number Diff line number Diff line change
Expand Up @@ -418,14 +418,14 @@ version(emsi_containers_unittest) unittest
{
TreeMap!(int, int) map;
auto p = map.getOrAdd(1, 1);
assert(p == 1);
assert(*p == 1);
}

version(emsi_containers_unittest) unittest
{
import std.uuid : randomUUID;
import std.range.primitives : walkLength;
import std.stdio;
//import std.stdio;

auto hm = TreeMap!(string, int)();
foreach (i; 0 .. 1_000_000)
Expand Down

0 comments on commit a33f1dc

Please sign in to comment.