Test for fixed ErrnoException property

This commit is contained in:
impinball
2015-03-19 03:32:47 -04:00
parent 66a74b699d
commit 05681c698d
+7
View File
@@ -60,6 +60,13 @@ class Networker extends events.EventEmitter {
}
}
var errno: number;
fs.readFile('testfile', (err, data) => {
if (err && err.errno) {
errno = err.errno;
}
});
url.format(url.parse('http://www.example.com/xyz'));
// https://google.com/search?q=you're%20a%20lizard%2C%20gary