Skip to content

Commit fb0699a

Browse files
Fix bug that meant tests didn't fail when they should have
1 parent 8a8921f commit fb0699a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ if (LOCAL) {
273273
var isAllowed = true;
274274
if (!(result.api_name in allowedFailures)) {
275275
isAllowed = false;
276-
} else if ((+result.short_version) < allowedFailures[result.api_name]) {
276+
} else if ((+result.short_version) > allowedFailures[result.api_name]) {
277277
isAllowed = false;
278278
}
279279
console.log(chalk[isAllowed ? 'yellow' : 'red'](' - ' + result.api_name + ' ' + result.short_version + ' ' + result.os));

0 commit comments

Comments
 (0)