| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5f6025b commit c9cf922
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ assert.strictEqual('passed', result); | |||
| 17 | 17 | console.error('thrown error'); | |
| 18 | 18 | assert.throws(function() { | |
| 19 | 19 | vm.runInNewContext('throw new Error(\'test\');'); | |
| 20 | - }); | ||
| 20 | + }, /^Error: test$/); | ||
| 21 | 21 | ||
| 22 | 22 | global.hello = 5; | |
| 23 | 23 | vm.runInNewContext('hello = 2'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments