MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / emoji_string_literal

Function emoji_string_literal

nodedb-query/src/expr_parse/tokenizer.rs:196–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194
195 #[test]
196 fn emoji_string_literal() {
197 let tokens = tokenize("'🎉' || tag").unwrap();
198 assert_eq!(tokens.len(), 3);
199 assert_eq!(tokens[0].text, "🎉");
200 }
201
202 #[test]
203 fn two_char_op_after_multibyte_string() {

Callers

nothing calls this directly

Calls 1

tokenizeFunction · 0.70

Tested by

no test coverage detected