@@ -60,6 +60,9 @@ test('browser resolve - missing', function (t) {
6060
6161 d . end ( { id : 'missing' , file : missing , entry : true } ) ;
6262
63+ d . on ( 'end' , function ( ) {
64+ t . fail ( 'errored' ) ;
65+ } ) ;
6366 d . on ( 'error' , function ( err ) {
6467 t . match (
6568 String ( err ) ,
@@ -74,6 +77,9 @@ test('node resolve - missing', function (t) {
7477
7578 d . end ( { id : 'missing' , file : missing , entry : true } ) ;
7679
80+ d . on ( 'end' , function ( ) {
81+ t . fail ( 'errored' ) ;
82+ } ) ;
7783 d . on ( 'error' , function ( err ) {
7884 t . match (
7985 String ( err ) ,
@@ -93,8 +99,7 @@ test('browser resolve', function (t) {
9399 d . on ( 'end' , function ( ) {
94100 t . same ( rows , expectedRows ) ;
95101 } ) ;
96-
97- d . on ( 'error' , function ( err ) {
102+ d . on ( 'error' , function ( ) {
98103 t . fail ( 'errored' ) ;
99104 } ) ;
100105} ) ;
@@ -110,8 +115,7 @@ test('node resolve', function (t) {
110115 d . on ( 'end' , function ( ) {
111116 t . same ( rows , expectedRows ) ;
112117 } ) ;
113-
114- d . on ( 'error' , function ( err ) {
118+ d . on ( 'error' , function ( ) {
115119 t . fail ( 'errored' ) ;
116120 } ) ;
117121} ) ;
0 commit comments