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

Function splits_on_hyphens

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

Source from the content-addressed store, hash-verified

592
593 #[test]
594 fn splits_on_hyphens() {
595 let phrase = Search::parse("Existing non-root topic").unwrap();
596 assert_eq!(
597 phrase.tokens,
598 phrases(&["existing", "non", "root", "topic"])
599 );
600 }
601
602 #[test]
603 fn token_length() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected