|
1 |
| -const grunt = require( 'grunt' ), |
2 |
| - patch = require( '../lib/patch.js' ), |
3 |
| - coreGit = grunt.file.read( 'test/fixtures/core.git.diff' ), |
4 |
| - coreSvn = grunt.file.read( 'test/fixtures/core.svn.diff' ), |
5 |
| - developGit = grunt.file.read( 'test/fixtures/develop.git.diff' ), |
6 |
| - developSvn = grunt.file.read( 'test/fixtures/develop.svn.diff' ), |
7 |
| - coreIndexGit = grunt.file.read( 'test/fixtures/core.git.index.diff' ), |
8 |
| - coreIndexSvn = grunt.file.read( 'test/fixtures/core.svn.index.diff' ), |
9 |
| - developIndexGit = grunt.file.read( 'test/fixtures/develop.git.index.diff' ), |
10 |
| - developIndexSvn = grunt.file.read( 'test/fixtures/develop.svn.index.diff' ), |
11 |
| - developSampleGit = grunt.file.read( 'test/fixtures/develop.git.wp-config-sample.diff' ), |
12 |
| - developSampleSvn = grunt.file.read( 'test/fixtures/develop.svn.wp-config-sample.diff' ), |
13 |
| - testsSvn = grunt.file.read( 'test/fixtures/tests.develop.svn.diff' ), |
14 |
| - testsGit = grunt.file.read( 'test/fixtures/tests.develop.git.diff' ), |
15 |
| - abyes = grunt.file.read( 'test/fixtures/git.diff.ab.diff' ), |
16 |
| - coreTrunkSvn = grunt.file.read( 'test/fixtures/core.svn.trunk.diff' ); |
| 1 | +const grunt = require( 'grunt' ); |
| 2 | +const patch = require( '../lib/patch.js' ); |
| 3 | +const coreGit = grunt.file.read( 'test/fixtures/core.git.diff' ); |
| 4 | +const coreSvn = grunt.file.read( 'test/fixtures/core.svn.diff' ); |
| 5 | +const developGit = grunt.file.read( 'test/fixtures/develop.git.diff' ); |
| 6 | +const developSvn = grunt.file.read( 'test/fixtures/develop.svn.diff' ); |
| 7 | +const coreIndexGit = grunt.file.read( 'test/fixtures/core.git.index.diff' ); |
| 8 | +const coreIndexSvn = grunt.file.read( 'test/fixtures/core.svn.index.diff' ); |
| 9 | +const developIndexGit = grunt.file.read( 'test/fixtures/develop.git.index.diff' ); |
| 10 | +const developIndexSvn = grunt.file.read( 'test/fixtures/develop.svn.index.diff' ); |
| 11 | +const developSampleGit = grunt.file.read( 'test/fixtures/develop.git.wp-config-sample.diff' ); |
| 12 | +const developSampleSvn = grunt.file.read( 'test/fixtures/develop.svn.wp-config-sample.diff' ); |
| 13 | +const testsSvn = grunt.file.read( 'test/fixtures/tests.develop.svn.diff' ); |
| 14 | +const testsGit = grunt.file.read( 'test/fixtures/tests.develop.git.diff' ); |
| 15 | +const abyes = grunt.file.read( 'test/fixtures/git.diff.ab.diff' ); |
| 16 | +const coreTrunkSvn = grunt.file.read( 'test/fixtures/core.svn.trunk.diff' ); |
17 | 17 |
|
18 | 18 | describe( 'Patch helpers', function() {
|
19 | 19 | it( 'git a/b diffs should not automatticaly trigger moving to src', function() {
|
|
0 commit comments