fix build breakage on Rhino parser

This commit is contained in:
Jeff Williams 2015-02-27 16:08:55 -08:00
parent 058cf91392
commit 1c754e98f2

View File

@ -1,5 +1,7 @@
'use strict';
// Rhino can't handle rest parameters
if (jasmine.jsParser !== 'rhino') {
describe('rest parameters', function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/restparams.js');
var setAdmins = docSet.getByLongname('setAdmins')[0];
@ -19,3 +21,4 @@ describe('rest parameters', function() {
expect(restParam.variable).toBe(true);
});
});
}