mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
std.algorithm.searching - fix weird bug in Travis
This commit is contained in:
parent
18dfffa07d
commit
cc5e36d1b4
1 changed files with 1 additions and 1 deletions
|
@ -1304,7 +1304,7 @@ private auto extremum(alias map = "a", alias selector = "a < b", Range,
|
|||
assert(arr2d.extremum([1]) == [1]);
|
||||
|
||||
// allow seeds of different types (implicit casting)
|
||||
assert([2, 3, 4].extremum(1.5) == 1.5);
|
||||
assert(extremum([2, 3, 4], 1.5) == 1.5);
|
||||
}
|
||||
|
||||
// find
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue