Searched refs:test_escape_unescape (Results 1 – 1 of 1) sorted by relevance
277 fn test_escape_unescape(text: &str, escaped: &str) { in test_escape_unescape() function292 test_escape_unescape("", "");293 test_escape_unescape("aa", "aa");294 test_escape_unescape("\n", "\\n");295 test_escape_unescape("\r", "\\r");296 test_escape_unescape("\t", "\\t");297 test_escape_unescape("你好", "\\344\\275\\240\\345\\245\\275");