We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f2c51 commit 32a3027Copy full SHA for 32a3027
test/addons/errno-exception/test.js
@@ -1,8 +1,14 @@
1
'use strict';
2
+
3
const common = require('../../common');
4
5
+// Verify that the path argument to node::ErrnoException() can contain UTF-8
6
+// characters.
7
8
const assert = require('assert');
9
const binding = require(`./build/${common.buildType}/binding`);
10
const err = binding.errno();
11
12
assert.strictEqual(err.syscall, 'syscall');
13
assert.strictEqual(err.errno, 10);
14
assert.strictEqual(err.path, 'päth');
0 commit comments