File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -276,9 +276,9 @@ function factory(base) {
276276
277277 // organise a working directory
278278 var signature = escapeFilenameString ( source , command ) ;
279- var src = ! params . hasRun && resolveSrc ( source ) ;
279+ var sourceDir = ! params . hasRun && resolveSrc ( source ) ;
280280 var cwd = resolveDest ( signature ) ;
281- copySources ( src , cwd , onCopyComplete ) ;
281+ copySources ( sourceDir , cwd , onCopyComplete ) ;
282282
283283 // handler for end of copy process
284284 function onCopyComplete ( error ) {
@@ -366,7 +366,8 @@ function factory(base) {
366366 function getTestCase ( ) {
367367 var args = Array . prototype . slice . call ( arguments ) ;
368368 var testStats = {
369- sourceDir : src ,
369+ source : source ,
370+ sourceDir : sourceDir ,
370371 runner : self ,
371372 cwd : cwd ,
372373 command : command ,
Original file line number Diff line number Diff line change @@ -22,8 +22,10 @@ function expectations(testCase) {
2222function customMatchers ( ) {
2323 jasmine . addMatchers ( diffMatchers . diffPatch ) ;
2424 jasmine . addMatchers ( {
25- toBeBuildHelpWithError : matchers . getHelpMatcher ( / ^ \s * T h e " b u i l d " t a s k / )
25+ toBeBuildHelpWithError : matchers . getHelpMatcher ( / ^ \s * T h e " b u i l d " t a s k / )
2626 } ) ;
27+ javascriptTask . customMatchers ( ) ;
28+ cssTask . customMatchers ( ) ;
2729}
2830
2931module . exports = {
You can’t perform that action at this time.
0 commit comments