MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_utf8

Function test_utf8

core/src/lexer.rs:999–1012  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

997
998 #[test]
999 fn test_utf8() {
1000 do_ok_test(
1001 "가 나=7 a다b \"라 마\"",
1002 &[
1003 ts(new_auto_symbol("가"), 1, 1, 3),
1004 ts(new_auto_symbol("나"), 1, 3, 3),
1005 ts(Token::Equal, 1, 4, 1),
1006 ts(Token::Integer(7), 1, 5, 1),
1007 ts(new_auto_symbol("a다b"), 1, 7, 5),
1008 ts(Token::Text("라 마".to_owned()), 1, 11, 9),
1009 ts(Token::Eof, 1, 16, 0),
1010 ],
1011 );
1012 }
1013
1014 #[test]
1015 fn test_remarks() {

Callers

nothing calls this directly

Calls 3

tsFunction · 0.85
new_auto_symbolFunction · 0.85
do_ok_testFunction · 0.70

Tested by

no test coverage detected