Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
|
|
@ -0,0 +1,26 @@
|
|||
/* global assert */
|
||||
'use strict';
|
||||
suite('optsfile', function() {
|
||||
var optsfile = require('../lib/optsfileparser');
|
||||
|
||||
/**
|
||||
* @param {String} file to load with optsfile relative to fixtures.
|
||||
*/
|
||||
function load(file) {
|
||||
return optsfile(__dirname + '/fixtures/' + file);
|
||||
}
|
||||
|
||||
test('parsing valid optsfile', function() {
|
||||
assert.deepEqual(
|
||||
load('testops.opts'),
|
||||
['--magicfoobar', '--dodad']
|
||||
);
|
||||
});
|
||||
|
||||
test('optsfile with newlines', function() {
|
||||
assert.deepEqual(
|
||||
load('testopsnewline.opts'),
|
||||
['--one', '--two']
|
||||
);
|
||||
});
|
||||
});
|
||||
Loading…
Reference in a new issue