Skip to content

Commit

Permalink
[minor] semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Jan 9, 2013
1 parent ee043ba commit 4adf3de
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions tests/features.test.js
@@ -1,14 +1,16 @@
var useragent = require('../')
, features = require('../features')
, ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.24 Safari/535.2"

describe('useragent/features', function () { describe('useragent/features', function () {
'use strict';

var useragent = require('../')
, features = require('../features')
, ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.24 Safari/535.2";

describe('#satisfies', function () { describe('#satisfies', function () {
it('should satisfy that range selector', function () { it('should satisfy that range selector', function () {
var agent = useragent.parse(ua) var agent = useragent.parse(ua);


agent.satisfies('15.x || >=19.5.0 || 25.0.0 - 17.2.3').should.be_true; agent.satisfies('15.x || >=19.5.0 || 25.0.0 - 17.2.3').should.be_true;
agent.satisfies('>16.12.0').should.be_false; agent.satisfies('>16.12.0').should.be_false;
}) });
}) });
}) });

0 comments on commit 4adf3de

Please sign in to comment.