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

Function invalid_time

crates/gitql-parser/src/parse_interval.rs:411–417  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409
410 #[test]
411 fn invalid_time() {
412 let inputs = ["1 h 1:00:00", "1 h 1 h"];
413 for input in inputs {
414 let parse_result = parse_interval_literal(input, SourceLocation::default());
415 assert!(parse_result.is_err());
416 }
417 }
418}

Callers

nothing calls this directly

Calls 1

parse_interval_literalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…