Lines Matching refs:test_string
26 fn test_string(s: &str, value: &str) { in strings() function
32 test_string(&again, value); in strings()
39 test_string("\"a\"", "a"); in strings()
40 test_string("\"\\n\"", "\n"); in strings()
41 test_string("\"\\r\"", "\r"); in strings()
42 test_string("\"\\t\"", "\t"); in strings()
43 test_string("\"\"", ""); // NOTE: This is an emoji in strings()
44 test_string("\"\\\"\"", "\""); in strings()
45 test_string("\"'\"", "'"); in strings()
46 test_string("\"\"", ""); in strings()
47 test_string("\"\\u{1F415}\"", "\u{1F415}"); in strings()
48 test_string("\"\\u{1_2__3_}\"", "\u{123}"); in strings()
49 test_string( in strings()
53 test_string("r\"raw\nstring\\\nhere\"", "raw\nstring\\\nhere"); in strings()
54 test_string("\"...\"q", "..."); in strings()
55 test_string("r\"...\"q", "..."); in strings()
56 test_string("r##\"...\"##q", "..."); in strings()