mirror of
https://github.com/danbulant/node-x11
synced 2026-06-17 13:41:11 +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) {
|
||||
X.require('xtest', function(ext) {
|
||||
if (!util.isError(ext)) cb(true);
|
||||
X.require('xtest', function(err) {
|
||||
if (!util.isError(err)) cb(true);
|
||||
else cb(false);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue