| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 31dadd2 commit 407eb6f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,10 +50,10 @@ function parent() { | |||
| 50 | 50 | console.log('ok - got expected message'); | |
| 51 | 51 | }); | |
| 52 | 52 | ||
| 53 | - child.on('exit', function(c) { | ||
| 53 | + child.on('exit', common.mustCall(function(c) { | ||
| 54 | 54 | assert(!c); | |
| 55 | 55 | console.log('ok - child exited nicely'); | |
| 56 | - }); | ||
| 56 | + })); | ||
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | 59 | function child() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments