Add snippets for async tests and benchmarks Change-Id: Ic1ad46c7f76b1e68c4043a13e821583195c661ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/2353 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
		
			
				
	
	
		
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			157 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			157 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # -*- mode: snippet -*-
 | |
| # name: async test
 | |
| # uuid:
 | |
| # key: atest
 | |
| # condition: t
 | |
| # --
 | |
| #[tokio::test(threaded_scheduler)]
 | |
| async fn ${1:test_name}() {
 | |
|    `%`$0
 | |
| } |