Skip to content

Commit

Permalink
corrections to extend() tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsm9000 committed Aug 29, 2023
1 parent 801b9f1 commit 1f5accb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdlib/d/gc/tcache.d
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ unittest extend {

// Now we're full, and can extend only by zero:
assert(threadCache.extend(p0[0 .. 16384], 0));
assert(!threadCache.extend(p0[0 .. 16384], 1));

// Make another appendable alloc:
auto p1 = threadCache.allocAppendable(100, false);
Expand Down

0 comments on commit 1f5accb

Please sign in to comment.