mirror of
https://github.com/danbulant/node-x11
synced 2026-07-03 10:10:36 +00:00
Correspondingly rename xtest callback param
The first parameter is the error param after all. The test logic is unchanged.
This commit is contained in:
parent
c67043f1ed
commit
6d76962bb2
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ var run_dpms_test = function(X, cb) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var run_xtest_test = function(X, cb) {
|
var run_xtest_test = function(X, cb) {
|
||||||
X.require('xtest', function(ext) {
|
X.require('xtest', function(err) {
|
||||||
if (!util.isError(ext)) cb(true);
|
if (!util.isError(err)) cb(true);
|
||||||
else cb(false);
|
else cb(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue