File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ new WASI({});
1111
1212// If args is not an Array and not undefined, it should throw. 
1313assert . throws ( ( )  =>  {  new  WASI ( {  args : 'fhqwhgads'  } ) ;  } , 
14-               {  code : 'ERR_INVALID_ARG_TYPE'  } ) ; 
14+               {  code : 'ERR_INVALID_ARG_TYPE' ,   message :  / \b a r g s \b / } ) ; 
1515
1616// If env is not an Object and not undefined, it should throw. 
1717assert . throws ( ( )  =>  {  new  WASI ( {  env : 'fhqwhgads'  } ) ;  } , 
18-               {  code : 'ERR_INVALID_ARG_TYPE'  } ) ; 
18+               {  code : 'ERR_INVALID_ARG_TYPE' ,   message :  / \b e n v \b / } ) ; 
1919
2020// If preopens is not an Object and not undefined, it should throw. 
2121assert . throws ( ( )  =>  {  new  WASI ( {  preopens : 'fhqwhgads'  } ) ;  } , 
22-               {  code : 'ERR_INVALID_ARG_TYPE'  } ) ; 
22+               {  code : 'ERR_INVALID_ARG_TYPE' ,   message :  / \b p r e o p e n s \b / } ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments