test: explicitly set global in test-repl
Pull Request check-list
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to [CONTRIBUTING.md][0]?
Affected core subsystem(s)
test repl
Description of change
The test intentionally assigns a global. Use global
namespace to make it clear that it is intentional and not an accidental leak.