MCPcopy Create free account
hub / github.com/andreiverse/gorilla / tokenize_string_string

Function tokenize_string_string

src/pattern.rs:284–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282
283 #[test]
284 fn tokenize_string_string() {
285 let tokens = tokenize_format_string("hello{0-9}world");
286 assert_eq!(tokens[2], Token::String(String::from("world")))
287 }
288
289 #[test]
290 fn properly_tokenize_double_brackets() {

Callers

nothing calls this directly

Calls 1

tokenize_format_stringFunction · 0.85

Tested by

no test coverage detected