Skip to content

Commit 24bd33b

Browse files
committed
fixup! test: add gc tracking to common API
1 parent ed98029 commit 24bd33b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/common/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,10 @@ otherwise.
321321
### noWarnCode
322322
See `common.expectWarning()` for usage.
323323

324-
### opensslCli
325-
* [<boolean>]
326-
327-
Indicates whether 'opensslCli' is supported.
328-
329324
### onGC(target, listener)
330325
* `target` [<Object>]
331326
* `listener` [<Object>]
332-
* `listener.ongc` [<Function>]
327+
* `ongc` [<Function>]
333328

334329
Installs a GC listener for the collection of `target`.
335330

@@ -339,7 +334,12 @@ means that between a `global.gc()` call and the listener being invoked
339334
a full `setImmediate()` invocation passes.
340335

341336
`listener` is an object to make it easier to use a closure; the target object
342-
should not be in scope when `listener.ongc` is created.
337+
should not be in scope when `listener.ongc()` is created.
338+
339+
### opensslCli
340+
* [<boolean>]
341+
342+
Indicates whether 'opensslCli' is supported.
343343

344344
### platformTimeout(ms)
345345
* `ms` [<number>]

0 commit comments

Comments
 (0)