1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

small fixes

This commit is contained in:
Alexander Lukin 2016-06-16 13:41:53 +03:00
parent 24b91a4dab
commit a5306640fa

View File

@ -90,7 +90,6 @@ var comparisionsTasks = [
]; ];
describe('Browser versions comparision', function() { describe('Browser versions comparision', function() {
for(g in comparisionsTasks) { for(g in comparisionsTasks) {
var task = comparisionsTasks[g], var task = comparisionsTasks[g],
version = task[0], version = task[0],
@ -98,6 +97,6 @@ describe('Browser versions comparision', function() {
matching = task[2] === 0 ? ' == ' : (task[2] > 0) ? ' > ' : ' < '; matching = task[2] === 0 ? ' == ' : (task[2] > 0) ? ' > ' : ' < ';
it('version ' + version + ' should be' + matching + 'version ' + version2, function(){ it('version ' + version + ' should be' + matching + 'version ' + version2, function(){
assert.equal(browser.compareVersions([version, version2]), task[2]); assert.equal(browser.compareVersions([version, version2]), task[2]);
}) });
} }
}); });