reactor / reactor-kotlin-extensions

Reactor Kotlin Support
Apache License 2.0
143 stars 21 forks source link

Fix return type of sumAsDouble() to be Mono<Double> #35

Closed kiwisincebirth closed 2 years ago

kiwisincebirth commented 2 years ago

looks good @kiwisincebirth . can you fix numberCollectionDoubleSum test to use sumAsDouble?

I have gone one better, and added a set of new tests specifically for sumAsDouble(). Not sure why these tests were missed, they definitely highlighted the bug. The method numberCollectionDoubleSum is testing deprecated methods, and think is still valid (at this point).