mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
small fixes
This commit is contained in:
parent
24b91a4dab
commit
a5306640fa
@ -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]);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user