Test for fixed ErrnoException property

This commit is contained in:
impinball
2015-03-19 03:27:37 -04:00
parent 6dfc9b47d2
commit 66a74b699d
+7
View File
@@ -61,6 +61,13 @@ class Networker extends events.EventEmitter {
}
}
var errno: number;
fs.readFile('testfile', (err, data) => {
if (err && err.errno) {
errno = err.errno;
}
});
////////////////////////////////////////////////////
/// Url tests : http://nodejs.org/api/url.html
////////////////////////////////////////////////////