| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f060881 commit 8336e4f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,10 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + require('../common'); | ||
| 4 | + const assert = require('assert'); | ||
| 5 | + | ||
| 6 | + const someBindingPath = './test/addons/hello-world/build/Release/binding.node'; | ||
| 7 | + | ||
| 8 | + assert.throws(() => { | ||
| 9 | + process.dlopen({ exports: undefined }, someBindingPath); | ||
| 10 | + }, Error); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments