Add missing imports to public unittests

This commit is contained in:
Sebastian Wilzbach 2016-12-10 09:00:03 +01:00
parent 3f8298e853
commit cc7f125ed1
15 changed files with 49 additions and 8 deletions

View file

@ -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 ];