@@ -308,43 +308,4 @@ describe("Compiler (caching)", function() {
308308 } ) ;
309309 } ) ;
310310 } ) ;
311-
312- it ( "should build not keep error after fix" , function ( done ) {
313-
314- var options = { } ;
315- var tempFixture = createTempFixture ( ) ;
316-
317- var helper = compile ( "./temp-cache-fixture/c" , options , function ( stats , files ) {
318-
319- // Built the first time
320- stats . modules [ 0 ] . name . should . containEql ( 'a.js' ) ;
321- stats . modules [ 0 ] . built . should . be . exactly ( true , 'a.js should have been built' ) ;
322-
323- var aContent = fs . readFileSync ( tempFixture . aFilepath ) . toString ( ) . replace ( 'This is a' , '\"))))This is a' ) ;
324-
325- fs . writeFileSync ( tempFixture . aFilepath , aContent ) ;
326-
327- helper . runAgain ( {
328- expectErrors : 1
329- } , function ( stats , files , iteration ) {
330-
331- var aContent = fs . readFileSync ( tempFixture . aFilepath ) . toString ( ) . replace ( '\"))))This is a' , 'This is a again' ) ;
332-
333- fs . writeFileSync ( tempFixture . aFilepath , aContent ) ;
334-
335- helper . runAgain ( function ( stats , files , iteration ) {
336-
337- // And only a.js built after it was modified
338- stats . modules [ 0 ] . name . should . containEql ( 'a.js' ) ;
339- stats . modules [ 0 ] . built . should . be . exactly ( true , 'a.js should have been built' ) ;
340-
341- stats . modules [ 1 ] . name . should . containEql ( 'c.js' ) ;
342- //stats.modules[1].built.should.be.exactly(false, 'c.js should not have built');
343-
344- done ( ) ;
345- } ) ;
346- } ) ;
347- } ) ;
348- } ) ;
349-
350311} ) ;
0 commit comments