-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are a few minor improvements: - Add more tests to check sandboxing resets, and that docs are "frozen". - Remove the extra `\n` and `"` around function body lines. Erlang can do multi-line binaries just fine. Mark the sections with %erlfmt-ignore to the formatter doesn't complain. - Generalize `should_create_sandbox` test to check for the `not defined` string only. Experimenting with QuickJS noticed that it uses single quotes around`'Object.foo' is not defined` and SM doesn't. So check for `not defined` part only as it's obvious enough what the check is about. - Make sure to return test procs back to the pool. Previously, none of the tests returned the processes back into the pool, and when the tests ended, they were forcibly killed which resulted in log noise that looked like: ``` erl_child_setup: failed with error 32 on line 265 erl_child_setup: failed with error 32 on line 265 ... ```
- Loading branch information
Showing
1 changed file
with
111 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters