()
| 223 | |
| 224 | #[test] |
| 225 | fn test_query_arguments() { |
| 226 | let arguments = vec![ |
| 227 | "gitql".to_string(), |
| 228 | "-q".to_string(), |
| 229 | "Select * from table".to_string(), |
| 230 | ]; |
| 231 | let command = parse_arguments(&arguments); |
| 232 | assert!(matches!(command, Command::QueryMode { .. })); |
| 233 | } |
| 234 | |
| 235 | #[test] |
| 236 | fn test_arguments_with_help() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…