mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +00:00
test: fix randr.js test
This commit is contained in:
parent
5e14ac2301
commit
2e7bf6cb18
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ describe('RANDR extension', function() {
|
|||
self.screen = dpy.screen[0];
|
||||
self.root = self.screen.root;
|
||||
self.X.require('randr', function(err, ext) {
|
||||
err.should.equal(null);
|
||||
should.not.exist(err);
|
||||
self.randr = ext;
|
||||
/* We HAVE to QueryVersion before using it. Otherwise it does not work as expected */
|
||||
self.randr.QueryVersion(1, 2, done);
|
||||
|
|
|
|||
Loading…
Reference in a new issue