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