mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Add missing imports to public unittests
This commit is contained in:
parent
3f8298e853
commit
cc7f125ed1
15 changed files with 49 additions and 8 deletions
|
@ -4086,6 +4086,7 @@ if (isForwardRange!Range && is(typeof(unaryFun!isTerminator(input.front))))
|
|||
@safe unittest
|
||||
{
|
||||
import std.algorithm.comparison : equal;
|
||||
import std.range.primitives : front;
|
||||
|
||||
assert(equal(splitter!(a => a == ' ')("hello world"), [ "hello", "", "world" ]));
|
||||
int[] a = [ 1, 2, 0, 0, 3, 0, 4, 5, 0 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue