Add a test for verifying the clap CLI.
This commit is contained in:
		
							parent
							
								
									a1f4600483
								
							
						
					
					
						commit
						179b07388a
					
				| @ -45,3 +45,14 @@ pub(crate) struct AddPostArgs { | ||||
|     #[arg(short, long)] | ||||
|     pub(crate) config: PathBuf, | ||||
| } | ||||
| 
 | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use super::*; | ||||
| 
 | ||||
|     #[test] | ||||
|     fn verify_cli() { | ||||
|         use clap::CommandFactory; | ||||
|         Cli::command().debug_assert() | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander