mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 00:54:05 +03:00
Add unittest for issue 8792.
This commit is contained in:
parent
0c4ebc2ce7
commit
d215dabbe2
1 changed files with 6 additions and 0 deletions
|
@ -2749,6 +2749,12 @@ unittest
|
|||
|
||||
// bugzilla 8240
|
||||
assert(equal(joiner([inputRangeObject("")]), ""));
|
||||
|
||||
// issue 8792
|
||||
auto b = [[1], [2], [3]];
|
||||
auto jb = joiner(b);
|
||||
auto js = jb.save;
|
||||
assert(equal(jb, js));
|
||||
}
|
||||
|
||||
// uniq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue