Skip to content

Commit 57a3ab2

Browse files
committed
Remove multiple line breaks
1 parent 1def6c8 commit 57a3ab2

File tree

10 files changed

+2
-23
lines changed

10 files changed

+2
-23
lines changed

test/config/paths.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22

33
var resolve = require('path').resolve;
44

5-
6-
75
var ROOT = resolve(__dirname, '../..');
86
var TEST = resolve(ROOT, 'test');
97
var OUTPUT = resolve(TEST, 'output');
108

11-
12-
139
module.exports = {
1410
ROOT: ROOT,
1511
OUTPUT: OUTPUT,

test/fixtures/bad-syntax/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
error: /ejs-html-loader.+EJS render error/,
87
options: {

test/fixtures/configure.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22

33
var paths = require('../config/paths');
44

5-
6-
75
var ejsTest = /\.ejs$/;
86

9-
10-
function configure(dirname, opts) {
7+
module.exports = function configure(dirname, opts) {
118

129
var loaders = [
1310
{
@@ -41,7 +38,4 @@ function configure(dirname, opts) {
4138
ejsHtml: opts.options,
4239
error: opts.error
4340
};
44-
}
45-
46-
47-
module.exports = configure;
41+
};

test/fixtures/context/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
match: /This example has a context/,
87
options: {

test/fixtures/delimiter/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
match: /This example uses a delimiter/,
87
options: {

test/fixtures/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22

3-
43
module.exports = {
54
badSyntax: require('./bad-syntax/webpack.config'),
65
context: require('./context/webpack.config'),

test/fixtures/query-string/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
match: /This example uses a query string/,
87
query: '?heading=This%20example%20uses%20a%20query%20string'

test/fixtures/simple/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
match: /This is a simple example/,
87
options: {

test/fixtures/with-include/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var configure = require('../configure.js');
44

5-
65
module.exports = configure(__dirname, {
76
match: /This text is included/,
87
options: {

test/index.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ var fixtures = require('./fixtures');
77
var paths = require('./config/paths');
88
var rimraf = require('rimraf');
99

10-
11-
1210
describe('loader:ejs-html-loader', function() {
1311

1412
afterEach('remove output directory', function(done) {
@@ -64,7 +62,6 @@ describe('loader:ejs-html-loader', function() {
6462

6563
});
6664

67-
6865
function testMatch(config, done) {
6966
webpack(config, function(err, stats) {
7067
expect(err).not.to.exist;
@@ -78,7 +75,6 @@ function testMatch(config, done) {
7875
});
7976
}
8077

81-
8278
function testError(config, done) {
8379
webpack(config, function(err, stats) {
8480
expect(err).not.to.exist;

0 commit comments

Comments
 (0)