accrue trivia
This commit is contained in:
		
							parent
							
								
									1b48d07a9c
								
							
						
					
					
						commit
						0402887cbf
					
				| @ -102,7 +102,7 @@ mod tests { | ||||
| 	use super::*; | ||||
| 	use tests::helpers::*; | ||||
| 	use util::network::*; | ||||
| 	
 | ||||
| 
 | ||||
| 	#[test] | ||||
| 	fn it_can_be_started() { | ||||
| 		let spec = get_test_spec(); | ||||
|  | ||||
| @ -33,3 +33,15 @@ impl Substate { | ||||
| 		self.contracts_created.extend(s.contracts_created.into_iter()); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
| 	use super::*; | ||||
| 
 | ||||
| 	#[test] | ||||
| 	fn accrue() { | ||||
| 		let mut sub_state = Substate::new(); | ||||
| 		let sub_state_2 = Substate::new(); | ||||
| 		sub_state.accrue(sub_state_2); | ||||
| 	} | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user