From 30630485d37e293bef228e60d9c5dcf6778006ca Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Thu, 25 Jul 2013 15:23:16 +0000 Subject: [PATCH] Add new lines to ends of all files This conforms to the Dojo 2 core style guide and makes it easier for users with POSIX-conforming text editors to submit code without whitespace changes. --- .gitignore | 2 +- LICENSE | 2 +- chai.js | 2 +- client.html | 2 +- client.js | 2 +- lib/ClientSuite.js | 2 +- lib/EnvironmentType.js | 2 +- lib/Suite.js | 2 +- lib/Test.js | 2 +- lib/args.js | 2 +- lib/createProxy.js | 2 +- lib/interfaces/bdd.js | 2 +- lib/interfaces/tdd.js | 2 +- lib/reporterManager.js | 2 +- lib/reporters/console.js | 2 +- lib/reporters/lcov.js | 2 +- lib/reporters/runner.js | 2 +- lib/reporters/webdriver.js | 2 +- lib/util.js | 2 +- lib/wd.js | 2 +- main.js | 2 +- order.js | 2 +- package.json | 2 +- tasks/intern.js | 2 +- tests/all.js | 2 +- tests/data/order/1.js | 2 +- tests/data/order/2.js | 2 +- tests/example.intern.js | 2 +- tests/functional/basic.js | 2 +- tests/functional/data/basic.html | 2 +- tests/lib/Suite.js | 2 +- tests/lib/Test.js | 2 +- tests/lib/interfaces/bdd.js | 2 +- tests/lib/interfaces/object.js | 2 +- tests/lib/interfaces/tdd.js | 2 +- tests/lib/reporterManager.js | 2 +- tests/lib/reporters/console.js | 2 +- tests/lib/reporters/lcov.js | 2 +- tests/order.js | 2 +- tests/selftest.intern.js | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index 91ee13f7a..88d249999 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules sauce_connect.log* -lcov.info \ No newline at end of file +lcov.info diff --git a/LICENSE b/LICENSE index 35786316c..306420f28 100644 --- a/LICENSE +++ b/LICENSE @@ -27,4 +27,4 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Released under [Dojo Foundation CLA](http://dojofoundation.org/about/cla). \ No newline at end of file +Released under [Dojo Foundation CLA](http://dojofoundation.org/about/cla). diff --git a/chai.js b/chai.js index 6ce1721bc..4f5847679 100644 --- a/chai.js +++ b/chai.js @@ -15,4 +15,4 @@ define([ 'chai' ], function (chai) { callback(chai[id]); } }; -}); \ No newline at end of file +}); diff --git a/client.html b/client.html index 51c77e6b0..20364174d 100644 --- a/client.html +++ b/client.html @@ -23,4 +23,4 @@ })(); - \ No newline at end of file + diff --git a/client.js b/client.js index 5051fd2f7..d5d9e86b7 100644 --- a/client.js +++ b/client.js @@ -129,4 +129,4 @@ else { }); }); }); -} \ No newline at end of file +} diff --git a/lib/ClientSuite.js b/lib/ClientSuite.js index 02ad39c68..abd7c5f8a 100644 --- a/lib/ClientSuite.js +++ b/lib/ClientSuite.js @@ -61,4 +61,4 @@ define([ }); return ClientSuite; -}); \ No newline at end of file +}); diff --git a/lib/EnvironmentType.js b/lib/EnvironmentType.js index 3b9becead..ff58fabdb 100644 --- a/lib/EnvironmentType.js +++ b/lib/EnvironmentType.js @@ -24,4 +24,4 @@ define([], function () { }; return EnvironmentType; -}); \ No newline at end of file +}); diff --git a/lib/Suite.js b/lib/Suite.js index f129c0a4e..3f4fb97c8 100644 --- a/lib/Suite.js +++ b/lib/Suite.js @@ -246,4 +246,4 @@ define([ }; return Suite; -}); \ No newline at end of file +}); diff --git a/lib/Test.js b/lib/Test.js index 4bc8af14b..03518a89f 100644 --- a/lib/Test.js +++ b/lib/Test.js @@ -198,4 +198,4 @@ define([ }; return Test; -}); \ No newline at end of file +}); diff --git a/lib/args.js b/lib/args.js index a6317763b..8ed1ba93b 100644 --- a/lib/args.js +++ b/lib/args.js @@ -46,4 +46,4 @@ define([], function () { }); return args; -}); \ No newline at end of file +}); diff --git a/lib/createProxy.js b/lib/createProxy.js index 99018e461..cdd6b7940 100644 --- a/lib/createProxy.js +++ b/lib/createProxy.js @@ -139,4 +139,4 @@ define([ console.log('Listening on 0.0.0.0:' + config.port); return server; }; -}); \ No newline at end of file +}); diff --git a/lib/interfaces/bdd.js b/lib/interfaces/bdd.js index 10a93b6a0..bcfe0a691 100644 --- a/lib/interfaces/bdd.js +++ b/lib/interfaces/bdd.js @@ -16,4 +16,4 @@ define([ suite: { value: undefined }, test: { value: undefined } }); -}); \ No newline at end of file +}); diff --git a/lib/interfaces/tdd.js b/lib/interfaces/tdd.js index b721fb6c1..123048fcb 100644 --- a/lib/interfaces/tdd.js +++ b/lib/interfaces/tdd.js @@ -52,4 +52,4 @@ define([ aspect.after(currentSuite, 'afterEach', fn); } }; -}); \ No newline at end of file +}); diff --git a/lib/reporterManager.js b/lib/reporterManager.js index 01c6095c4..5e8d5bd43 100644 --- a/lib/reporterManager.js +++ b/lib/reporterManager.js @@ -96,4 +96,4 @@ define([ reporter.isRunning = false; } }; -}); \ No newline at end of file +}); diff --git a/lib/reporters/console.js b/lib/reporters/console.js index d3ccf892c..04377f014 100644 --- a/lib/reporters/console.js +++ b/lib/reporters/console.js @@ -37,4 +37,4 @@ define([ util.logError(test.error); } }; -}); \ No newline at end of file +}); diff --git a/lib/reporters/lcov.js b/lib/reporters/lcov.js index 5b78d673d..d22523ac2 100644 --- a/lib/reporters/lcov.js +++ b/lib/reporters/lcov.js @@ -14,4 +14,4 @@ define([ reporter.writeReport(collector, true); } }; -}); \ No newline at end of file +}); diff --git a/lib/reporters/runner.js b/lib/reporters/runner.js index 0135c791b..853ab7acf 100644 --- a/lib/reporters/runner.js +++ b/lib/reporters/runner.js @@ -81,4 +81,4 @@ define([ console.log(message, numEnvironments, numFailedTests, numTests); } }; -}); \ No newline at end of file +}); diff --git a/lib/reporters/webdriver.js b/lib/reporters/webdriver.js index 5503164eb..ae62f0f28 100644 --- a/lib/reporters/webdriver.js +++ b/lib/reporters/webdriver.js @@ -116,4 +116,4 @@ define([ scroll(); } : null }; -}); \ No newline at end of file +}); diff --git a/lib/util.js b/lib/util.js index 79030b5dc..558e71e92 100644 --- a/lib/util.js +++ b/lib/util.js @@ -139,4 +139,4 @@ define([ } } }; -}); \ No newline at end of file +}); diff --git a/lib/wd.js b/lib/wd.js index d9dd66195..8e5cfca47 100644 --- a/lib/wd.js +++ b/lib/wd.js @@ -859,4 +859,4 @@ define([ return new PromisedWebDriver(config, desiredEnvironment); } }; -}); \ No newline at end of file +}); diff --git a/main.js b/main.js index b9dfc6502..e82edf9f0 100644 --- a/main.js +++ b/main.js @@ -44,4 +44,4 @@ define([ require([ './lib/interfaces/' + id ], callback); } }; -}); \ No newline at end of file +}); diff --git a/order.js b/order.js index 0c16032ad..b7ccda576 100644 --- a/order.js +++ b/order.js @@ -25,4 +25,4 @@ define([ })(); } }; -}); \ No newline at end of file +}); diff --git a/package.json b/package.json index a4bcc4fcb..e85244afc 100644 --- a/package.json +++ b/package.json @@ -23,4 +23,4 @@ "bugs": "https://github.com/theintern/intern/issues", "keywords": [ "javascript", "test", "unit", "testing", "ci", "continuous integration", "bdd", "tdd", "xunit", "istanbul", "chai", "dojo", "toolkit", "selenium", "sauce labs", "code coverage" ], "homepage": "http://theintern.io/" -} \ No newline at end of file +} diff --git a/tasks/intern.js b/tasks/intern.js index 3026b85b8..31d6c4fd1 100644 --- a/tasks/intern.js +++ b/tasks/intern.js @@ -40,4 +40,4 @@ module.exports = function (grunt) { grunt.log[/\bPASS/i.test(data) ? 'ok' : /\bFAIL/i.test(data) ? 'error' : 'write'](data); }); }); -}; \ No newline at end of file +}; diff --git a/tests/all.js b/tests/all.js index 1ccd51540..f0cb74281 100644 --- a/tests/all.js +++ b/tests/all.js @@ -8,4 +8,4 @@ define([ './lib/interfaces/object', './lib/reporters/console', 'dojo/has!host-node?./lib/reporters/lcov' -], function () {}); \ No newline at end of file +], function () {}); diff --git a/tests/data/order/1.js b/tests/data/order/1.js index 9341e69bf..329e29de7 100644 --- a/tests/data/order/1.js +++ b/tests/data/order/1.js @@ -3,4 +3,4 @@ var global = (new Function('return this')()); global.order = global.order || []; global.order.push(1); -})(); \ No newline at end of file +})(); diff --git a/tests/data/order/2.js b/tests/data/order/2.js index 8906d9d96..dfd257c72 100644 --- a/tests/data/order/2.js +++ b/tests/data/order/2.js @@ -3,4 +3,4 @@ var global = (new Function('return this')()); global.order = global.order || []; global.order.push(2); -})(); \ No newline at end of file +})(); diff --git a/tests/example.intern.js b/tests/example.intern.js index 5ea92bb15..6c599dd76 100644 --- a/tests/example.intern.js +++ b/tests/example.intern.js @@ -59,4 +59,4 @@ define({ // A regular expression matching URLs to files that should not be included in code coverage analysis excludeInstrumentation: /^tests\// -}); \ No newline at end of file +}); diff --git a/tests/functional/basic.js b/tests/functional/basic.js index 6a87461fe..ed5af21ec 100644 --- a/tests/functional/basic.js +++ b/tests/functional/basic.js @@ -78,4 +78,4 @@ define([ })); } }); -}); \ No newline at end of file +}); diff --git a/tests/functional/data/basic.html b/tests/functional/data/basic.html index 175433f44..cf2284010 100644 --- a/tests/functional/data/basic.html +++ b/tests/functional/data/basic.html @@ -8,4 +8,4 @@

Functional test

- \ No newline at end of file + diff --git a/tests/lib/Suite.js b/tests/lib/Suite.js index 370700c89..2a01349cc 100644 --- a/tests/lib/Suite.js +++ b/tests/lib/Suite.js @@ -399,4 +399,4 @@ define([ assert.strictEqual(suite.numFailedTests, 2, 'Suite#numFailedTests returns the correct number of failed tests, including those from nested suites'); } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/Test.js b/tests/lib/Test.js index b7bb80952..5cf8d0a72 100644 --- a/tests/lib/Test.js +++ b/tests/lib/Test.js @@ -252,4 +252,4 @@ define([ assert.strictEqual(test.remote, mockRemote, 'Test#remote should get the remote value from from the test\'s parent'); } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/interfaces/bdd.js b/tests/lib/interfaces/bdd.js index 48d85dab6..f3bdce643 100644 --- a/tests/lib/interfaces/bdd.js +++ b/tests/lib/interfaces/bdd.js @@ -21,4 +21,4 @@ define([ assert.isUndefined(bdd.test, 'bdd.test should not be defined since it is a TDD interface'); } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/interfaces/object.js b/tests/lib/interfaces/object.js index b2a4ae087..ea8b0c4f6 100644 --- a/tests/lib/interfaces/object.js +++ b/tests/lib/interfaces/object.js @@ -104,4 +104,4 @@ define([ } } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/interfaces/tdd.js b/tests/lib/interfaces/tdd.js index 0b1058b7b..6c5e1f734 100644 --- a/tests/lib/interfaces/tdd.js +++ b/tests/lib/interfaces/tdd.js @@ -84,4 +84,4 @@ define([ }); } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/reporterManager.js b/tests/lib/reporterManager.js index c1002d3ab..fe3d4002e 100644 --- a/tests/lib/reporterManager.js +++ b/tests/lib/reporterManager.js @@ -107,4 +107,4 @@ define([ assert.strictEqual(numTimesStopped, 1, 'Trying to stop an already-stopped reporter should do nothing'); } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/reporters/console.js b/tests/lib/reporters/console.js index c3ff20686..e15f5888f 100644 --- a/tests/lib/reporters/console.js +++ b/tests/lib/reporters/console.js @@ -219,4 +219,4 @@ define([ } } }); -}); \ No newline at end of file +}); diff --git a/tests/lib/reporters/lcov.js b/tests/lib/reporters/lcov.js index b5d45dd6d..79d74fb08 100644 --- a/tests/lib/reporters/lcov.js +++ b/tests/lib/reporters/lcov.js @@ -83,4 +83,4 @@ define([ } } }); -}); \ No newline at end of file +}); diff --git a/tests/order.js b/tests/order.js index d49751598..83a94be46 100644 --- a/tests/order.js +++ b/tests/order.js @@ -24,4 +24,4 @@ define([ })); } }); -}); \ No newline at end of file +}); diff --git a/tests/selftest.intern.js b/tests/selftest.intern.js index 23cb7989e..4f4d23772 100644 --- a/tests/selftest.intern.js +++ b/tests/selftest.intern.js @@ -57,4 +57,4 @@ define({ // A regular expression matching URLs to files that should not be included in code coverage analysis excludeInstrumentation: /^(?:tests|node_modules)\// -}); \ No newline at end of file +});