test: simplify test-worker-syntax-error
Remove extraneous code from test-worker-syntax-error. Because the worker
is called with eval: true
, there is no need to set an environment
variable indicating whether the worker has started and so on. The test
file is only ever executed by the main thread.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines