test: replace function with arrow function and remove unused argument
requested to merge github/fork/andresatencio/andresatencio/test-readline-replace-function-to-arrow-function into master
Replace function with arrow function and remove unused argument (line)
Checklist
-
make -j4 test (UNIX), or vcbuild test (Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines