mirror of
https://github.com/danbulant/node-x11
synced 2026-06-16 13:11:11 +00:00
coding style
This commit is contained in:
parent
6d6c8d3b9f
commit
47b791dc42
2 changed files with 6 additions and 12 deletions
|
|
@ -13,12 +13,9 @@ describe('DPMS extension', function() {
|
|||
display = dpy;
|
||||
X = display.client;
|
||||
X.require('dpms', function(err, ext) {
|
||||
if (err) {
|
||||
done(ext);
|
||||
} else {
|
||||
dpms = ext;
|
||||
done();
|
||||
}
|
||||
should.not.exist(err);
|
||||
dpms = ext;
|
||||
done();
|
||||
});
|
||||
} else {
|
||||
done(err);
|
||||
|
|
|
|||
|
|
@ -13,12 +13,9 @@ describe('XTEST extension', function() {
|
|||
display = dpy;
|
||||
X = display.client;
|
||||
X.require('xtest', function(err, ext) {
|
||||
if (err) {
|
||||
done(ext);
|
||||
} else {
|
||||
xtest = ext;
|
||||
done();
|
||||
}
|
||||
should.not.exist(err);
|
||||
xtest = ext;
|
||||
done();
|
||||
});
|
||||
} else {
|
||||
done(err);
|
||||
|
|
|
|||
Loading…
Reference in a new issue