Add Reset::INTERNAL_ERROR helper to test support (#308)
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							d464c6bfff
						
					
				
				
					commit
					2b960b897d
				
			| @@ -295,6 +295,11 @@ impl Mock<frame::Reset> { | ||||
|         let id = self.0.stream_id(); | ||||
|         Mock(frame::Reset::new(id, frame::Reason::CANCEL)) | ||||
|     } | ||||
|  | ||||
|     pub fn internal_error(self) -> Self { | ||||
|         let id = self.0.stream_id(); | ||||
|         Mock(frame::Reset::new(id, frame::Reason::INTERNAL_ERROR)) | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl From<Mock<frame::Reset>> for SendFrame { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user