Home
last modified time | relevance | path

Searched refs:test_lit (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs1070 macro_rules! test_lit { macro
1072 test_lit!($name, $which, $re,);
1101 test_lit!(pfx_one_lit1, prefixes, "a", M("a"));
1102 test_lit!(pfx_one_lit2, prefixes, "abc", M("abc"));
1103 test_lit!(pfx_one_lit3, prefixes, "(?u)☃", M("\\xe2\\x98\\x83"));
1105 test_lit!(pfx_one_lit4, prefixes, "(?ui)☃", M("\\xe2\\x98\\x83"));
1106 test_lit!(pfx_class1, prefixes, "[1-4]", M("1"), M("2"), M("3"), M("4"));
1107 test_lit!(
1115 test_lit!(
1123 test_lit!(pfx_one_lit_casei1, prefixes, "(?i-u)a", M("A"), M("a"));
[all …]
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_parser.py534 def test_lit(self): member in TestStringLiterals