mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
add unittest for case that used to fail
This commit is contained in:
parent
8928d06403
commit
d98807e043
1 changed files with 4 additions and 0 deletions
|
@ -830,6 +830,10 @@ unittest
|
|||
|
||||
// With chain
|
||||
assert(equal(filter!overX(chain(a, nums)), [22, 42]));
|
||||
|
||||
// With copying of inner struct Filter to Map
|
||||
auto arr = [1,2,3,4,5];
|
||||
auto m = map!"a + 1"(filter!"a < 4"(arr));
|
||||
}
|
||||
|
||||
// move
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue