Skip to content

Commit

Permalink
fix test discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Szabo Bogdan committed Nov 4, 2017
1 parent 0dacd0b commit 6968638
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lifecycle/trial/discovery/unit.d
Original file line number Diff line number Diff line change
@@ -743,14 +743,14 @@ unittest
foreach (index, test; allTests)
{
static if(__VERSION__ >= 2077) {
if (test.name.indexOf(__MODULE__.replace(".", "_") ~ "_d_719") != -1)
if (test.name.indexOf(__MODULE__.replace(".", "_") ~ "_d_718") != -1)
{
allTests[index].name = __MODULE__.replace(".", "_") ~ "_d_719";
allTests[index].name = __MODULE__.replace(".", "_") ~ "_d_718";
}
} else {
if (test.name.indexOf(unitTestKey ~ "719") != -1)
if (test.name.indexOf(unitTestKey ~ "718") != -1)
{
allTests[index].name = unitTestKey ~ "719";
allTests[index].name = unitTestKey ~ "718";
}
}
}

0 comments on commit 6968638

Please sign in to comment.