mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 16:40:48 +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
|
@ -2588,6 +2588,7 @@ swapRanges(InputRange1, InputRange2)(InputRange1 r1, InputRange2 r2)
|
|||
///
|
||||
@safe unittest
|
||||
{
|
||||
import std.range : empty;
|
||||
int[] a = [ 100, 101, 102, 103 ];
|
||||
int[] b = [ 0, 1, 2, 3 ];
|
||||
auto c = swapRanges(a[1 .. 3], b[2 .. 4]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue