We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a03a1 commit 2d84bb9Copy full SHA for 2d84bb9
test/src/chainmap.js
@@ -131,9 +131,9 @@ test( "chainmap" , t => {
131
"delete" : function ( ) { throw new Error( ) ; }
132
} ) ;
133
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" ) ;
+ t.throws( M.get.bind( M , 0 ) , null , "get forwards" ) ;
+ t.throws( M.pop.bind( M ) , null , "pop forwards" ) ;
+ t.throws( M.popitem.bind( M ) , null , "popitem forwards" ) ;
+ t.throws( M.delete.bind( M , 0 ) , null , "delete forwards" ) ;
138
139
0 commit comments