From e53ab844cc55e1dae76cffd1bad480dcbcb09b12 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 10 Dec 2016 14:57:41 +0100 Subject: [PATCH] Fix errors reported by the `no-useless-concat` ESLint rule http://eslint.org/docs/rules/no-useless-concat --- test/test.js | 2 +- test/unit/type1_parser_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index f82937b11..fa588fd2b 100644 --- a/test/test.js +++ b/test/test.js @@ -81,7 +81,7 @@ function parseOptions() { 'test_manifest.json')) .check(describeCheck(function (argv) { 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.')); var result = yargs.argv; if (result.help) { diff --git a/test/unit/type1_parser_spec.js b/test/unit/type1_parser_spec.js index 3d9a4424a..838dc4b94 100644 --- a/test/unit/type1_parser_spec.js +++ b/test/unit/type1_parser_spec.js @@ -73,7 +73,7 @@ describe('Type1Parser', function() { 'dup 0 1 RD x noaccess put\n'+ 'end\n' + '/CharStrings 46 dict dup begin\n' + - '/.notdef 1 RD x ND' + '\n' + + '/.notdef 1 RD x ND\n' + 'end'); var parser = new Type1Parser(stream, false, SEAC_ANALYSIS_ENABLED); var program = parser.extractFontProgram();