MCPcopy Create free account
hub / github.com/emwalker/digraph / bad_id

Function bad_id

backend/src/git/search.rs:654–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

652
653 #[test]
654 fn bad_id() {
655 let s = Search::parse("in:so").unwrap();
656 assert_eq!(s.normalized, Phrase::parse("inso"));
657 assert_eq!(s.tokens.len(), 1);
658 assert_eq!(s.tokens.first().unwrap(), &Phrase::parse("in:so"));
659 assert_eq!(s.topic_specs.len(), 0);
660 }
661}

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected