mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
Fix loop during unit tests between std.parallelism and std.range
This commit is contained in:
parent
c33f3862b7
commit
612444ea67
2 changed files with 6 additions and 3 deletions
|
@ -4561,3 +4561,9 @@ unittest
|
|||
|
||||
auto result = taskPool.amap!__genPair_12733(data);
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
// this test was in std.range, but caused cycles.
|
||||
assert(__traits(compiles, { foreach (i; iota(0, 100UL).parallel) {} }));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue