MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_tokenizer_empty

Function test_tokenizer_empty

atomic-core/src/diff/token/tests.rs:216–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn test_tokenizer_empty() {
217 let tokens: Vec<Token> = Tokenizer::new(b"").collect();
218 assert!(tokens.is_empty());
219 }
220
221 #[test]
222 fn test_tokenizer_single_word() {

Callers

nothing calls this directly

Calls 1

collectMethod · 0.45

Tested by

no test coverage detected