test: fix test-buffer-slow
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test, buffer
Description of change
Fix incorrect use of string instead of RegExp in throws
assertions.