Fix errors reported by the no-useless-concat ESLint rule

http://eslint.org/docs/rules/no-useless-concat
This commit is contained in:
Jonas Jenwald 2016-12-10 14:57:41 +01:00
parent 3820946301
commit e53ab844cc
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ function parseOptions() {
'test_manifest.json')) 'test_manifest.json'))
.check(describeCheck(function (argv) { .check(describeCheck(function (argv) {
return !argv.browser || !argv.browserManifestFile; return !argv.browser || !argv.browserManifestFile;
}, '--browser and --browserManifestFile must not be specified at the ' +'' + }, '--browser and --browserManifestFile must not be specified at the ' +
'same time.')); 'same time.'));
var result = yargs.argv; var result = yargs.argv;
if (result.help) { if (result.help) {

View File

@ -73,7 +73,7 @@ describe('Type1Parser', function() {
'dup 0 1 RD x noaccess put\n'+ 'dup 0 1 RD x noaccess put\n'+
'end\n' + 'end\n' +
'/CharStrings 46 dict dup begin\n' + '/CharStrings 46 dict dup begin\n' +
'/.notdef 1 RD x ND' + '\n' + '/.notdef 1 RD x ND\n' +
'end'); 'end');
var parser = new Type1Parser(stream, false, SEAC_ANALYSIS_ENABLED); var parser = new Type1Parser(stream, false, SEAC_ANALYSIS_ENABLED);
var program = parser.extractFontProgram(); var program = parser.extractFontProgram();