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

Function test_arguments_with_version

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

Source from the content-addressed store, hash-verified

245
246 #[test]
247 fn test_arguments_with_version() {
248 let arguments = vec![
249 "gitql".to_string(),
250 "dummy".to_string(),
251 "--version".to_string(),
252 ];
253 let command = parse_arguments(&arguments);
254 assert_eq!(command, Command::Version);
255 }
256
257 #[test]
258 fn test_arguments_with_valid_page_size() {

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…