Skip to content

Commit 4bdcf8a

Browse files
author
Ruben Bridgewater
committed
Fix regression: version detection in tests did not work properly anymore
1 parent 785af29 commit 4bdcf8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/helper.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ module.exports = {
9898
// Return true if the server version >= desired_version
9999
var version = connection.server_info.versions;
100100
for (var i = 0; i < 3; i++) {
101+
if (version[i] > desired_version[i]) {
102+
return true;
103+
}
101104
if (version[i] < desired_version[i]) {
102105
if (this.skip) this.skip();
103106
return false;

0 commit comments

Comments
 (0)