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

Function test_query_arguments

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

Source from the content-addressed store, hash-verified

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() {

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…