Lines Matching refs:ExpectError
450 static void ExpectError(const char* input, in ExpectError() function
467 ExpectError("\\", kEndBackslash); in TEST()
469 ExpectError("(foo", kUnterminatedGroup); in TEST()
471 ExpectError("(?", kInvalidGroup); in TEST()
473 ExpectError("[", kUnterminatedCharacterClass); in TEST()
474 ExpectError("[a-", kUnterminatedCharacterClass); in TEST()
476 ExpectError("*", kNothingToRepeat); in TEST()
477 ExpectError("?", kNothingToRepeat); in TEST()
478 ExpectError("+", kNothingToRepeat); in TEST()
479 ExpectError("{1}", kNothingToRepeat); in TEST()
480 ExpectError("{1,2}", kNothingToRepeat); in TEST()
481 ExpectError("{1,}", kNothingToRepeat); in TEST()
490 ExpectError(os.str().c_str(), kTooManyCaptures); in TEST()