Skip to content

Commit 2d84bb9

Browse files
🔍 test: Fix t.throws calls.
1 parent 19a03a1 commit 2d84bb9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/src/chainmap.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ test( "chainmap" , t => {
131131
"delete" : function ( ) { throw new Error( ) ; }
132132
} ) ;
133133

134-
t.throws( M.get.bind( M , 0 ) , Error , "get forwards" ) ;
135-
t.throws( M.pop.bind( M ) , Error , "pop forwards" ) ;
136-
t.throws( M.popitem.bind( M ) , Error , "popitem forwards" ) ;
137-
t.throws( M.delete.bind( M , 0 ) , Error , "delete forwards" ) ;
134+
t.throws( M.get.bind( M , 0 ) , null , "get forwards" ) ;
135+
t.throws( M.pop.bind( M ) , null , "pop forwards" ) ;
136+
t.throws( M.popitem.bind( M ) , null , "popitem forwards" ) ;
137+
t.throws( M.delete.bind( M , 0 ) , null , "delete forwards" ) ;
138138

139139
} ) ;

0 commit comments

Comments
 (0)