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

Function empty_query

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

Source from the content-addressed store, hash-verified

555
556 #[test]
557 fn empty_query() {
558 let s = Search::parse("").unwrap();
559 assert_eq!(s.normalized, Phrase::parse(""));
560 assert_eq!(s.tokens.len(), 0);
561 assert_eq!(s.topic_specs.len(), 0);
562 }
563
564 #[test]
565 fn simple_search() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected