@@ -61,7 +61,7 @@ describe('commit', function() {
61
61
62
62
// Quick setup the repos, adapter, and grab a simple prompter
63
63
let prompter = quickPrompterSetup ( sh , repoConfig , adapterConfig , dummyCommitMessage ) ;
64
- // TEST
64
+ // TEST
65
65
66
66
// Pass in inquirer but it never gets used since we've mocked out a different
67
67
// version of prompter.
@@ -128,20 +128,20 @@ describe('commit', function() {
128
128
// Don't trim or delete the spacing in this commit message!
129
129
130
130
// Git on *nix retains spaces on lines with only spaces
131
- // The blank line of this block should have 4 spaces.
132
- let nixCommitMessage =
131
+ // The blank line of this block should have 4 spaces.
132
+ let nixCommitMessage =
133
133
`sip sip sippin on jnkjnkjn
134
134
135
135
some sizzurp` ;
136
136
137
137
// Git on win32 removes spaces from lines with only spaces
138
138
// The blank line of this block should have no spaces
139
- let windowsCommitMessage =
139
+ let windowsCommitMessage =
140
140
`sip sip sippin on jnkjnkjn
141
141
142
142
some sizzurp` ;
143
143
144
- let dummyCommitMessage = ( os . platform == 'win32' ) ? windowsCommitMessage : nixCommitMessage ;
144
+ let dummyCommitMessage = ( os . platform == 'win32' ) ? windowsCommitMessage : nixCommitMessage ;
145
145
146
146
// Describe a repo and some files to add and commit
147
147
let repoConfig = {
@@ -166,7 +166,7 @@ describe('commit', function() {
166
166
167
167
// Quick setup the repos, adapter, and grab a simple prompter
168
168
let prompter = quickPrompterSetup ( sh , repoConfig , adapterConfig , dummyCommitMessage ) ;
169
- // TEST
169
+ // TEST
170
170
171
171
// Pass in inquirer but it never gets used since we've mocked out a different
172
172
// version of prompter.
@@ -179,7 +179,7 @@ describe('commit', function() {
179
179
180
180
} ) ;
181
181
182
- it ( 'should allow to override options passed to gulp-git ' , function ( done ) {
182
+ it ( 'should allow to override git commit options ' , function ( done ) {
183
183
184
184
this . timeout ( config . maxTimeout ) ; // this could take a while
185
185
@@ -215,7 +215,7 @@ describe('commit', function() {
215
215
216
216
// Quick setup the repos, adapter, and grab a simple prompter
217
217
let prompter = quickPrompterSetup ( sh , repoConfig , adapterConfig , dummyCommitMessage , options ) ;
218
- // TEST
218
+ // TEST
219
219
220
220
// Pass in inquirer but it never gets used since we've mocked out a different
221
221
// version of prompter.
@@ -234,13 +234,13 @@ describe('commit', function() {
234
234
afterEach ( function ( ) {
235
235
// All this should do is archive the tmp path to the artifacts
236
236
clean . afterEach ( sh , config . paths . tmp , config . preserve ) ;
237
- } ) ;
237
+ } ) ;
238
238
239
239
after ( function ( ) {
240
- // Once everything is done, the artifacts should be cleaned up based on
240
+ // Once everything is done, the artifacts should be cleaned up based on
241
241
// the preserve setting in the config
242
242
clean . after ( sh , config . paths . tmp , config . preserve ) ;
243
- } ) ;
243
+ } ) ;
244
244
245
245
/**
246
246
* This is just a helper for testing. NOTE that prompter
@@ -267,5 +267,5 @@ function quickPrompterSetup(sh, repoConfig, adapterConfig, commitMessage, option
267
267
// NOTE: In the real world we would not be returning
268
268
// this we would instead be just making the commented
269
269
// out getPrompter() call to get user input (above).
270
- return prompter ;
271
- }
270
+ return prompter ;
271
+ }
0 commit comments