MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / test_arguments_with_help

Function test_arguments_with_help

crates/gitql-cli/src/arguments.rs:236–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234
235 #[test]
236 fn test_arguments_with_help() {
237 let arguments = vec![
238 "gitql".to_string(),
239 "dummy".to_string(),
240 "--help".to_string(),
241 ];
242 let command = parse_arguments(&arguments);
243 assert_eq!(command, Command::Help);
244 }
245
246 #[test]
247 fn test_arguments_with_version() {

Callers

nothing calls this directly

Calls 1

parse_argumentsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…