test: refactor test-repl-tab-complete
- Add check for
data
object in tab completion callback - Replace
.indexOf()
with.startsWith()
where appropriate
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test repl