Searched refs:ExpectErr (Results 1 – 1 of 1) sorted by relevance
/external/llvm-project/llvm/unittests/Support/ |
D | JSONTest.cpp | 194 auto ExpectErr = [](llvm::StringRef Msg, llvm::StringRef S) { in TEST() local 204 ExpectErr("Unexpected EOF", ""); in TEST() 205 ExpectErr("Unexpected EOF", "["); in TEST() 206 ExpectErr("Text after end of document", "[][]"); in TEST() 207 ExpectErr("Invalid JSON value (false?)", "fuzzy"); in TEST() 208 ExpectErr("Expected , or ]", "[2?]"); in TEST() 209 ExpectErr("Expected object key", "{a:2}"); in TEST() 210 ExpectErr("Expected : after object key", R"({"a",2})"); in TEST() 211 ExpectErr("Expected , or } after object property", R"({"a":2 "b":3})"); in TEST() 212 ExpectErr("Invalid JSON value", R"([&%!])"); in TEST() [all …]
|