Skip to content

Commit

Permalink
Avoid deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Kröplin committed Dec 23, 2021
1 parent 2d1a467 commit 89c11ce
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dunit/framework.d
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,7 @@ public bool matches(Tag[] tags, string[] choices)
}

public void runTests(TestSelection[] testSelections, TestListener[] testListeners)
in
{
assert(all!"a !is null"(testListeners));
}
body
in (testListeners.all!"a !is null")
{
bool tryRun(string phase, void delegate() action)
{
Expand Down

0 comments on commit 89c11ce

Please sign in to comment.