test: changed function to arrow function
Convert callback functions that are anonymous
to arrow functions for better readability.
Also adjusted the this
object in places
where that was required.
This is my first PR, as shorter functions and behaviour of this keyword influenced the need for arrow function I changed function to arrow function.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines