anchor.diff:  
   /** A matcher for functions that throw NoSuchMethodError */
   const Matcher throwsNoSuchMethodError =
  -    const _Throws(isNoSuchMethodError);
  -
  -class _NoSuchMethodError extends _ExceptionMatcher {
  +    const Throws(isNoSuchMethodError);
  +
  +class _NoSuchMethodError extends ExceptionMatcher {
     const _NoSuchMethodError() : super("NoSuchMethodError");
     bool matches(item, MatchState matchState) => item is NoSuchMethodError;
   }
  
positive.code: 
  /** A matcher for functions that throw IllegalJSRegExpException */
  const Matcher throwsIllegalJSRegExpException =
      const _Throws(isIllegalJSRegExpException);
  
  class _IllegalJSRegExpException extends _ExceptionMatcher {
    const _IllegalJSRegExpException() : super("IllegalJSRegExpException");
    bool matches(item, MatchState matchState) => item is IllegalJSRegExpException;
  }
  
negative.code: 
  /** A matcher for functions that throw IndexOutOfRangeException */
  const Matcher throwsIndexOutOfRangeException =
      const Throws(isIndexOutOfRangeException);
  
  class _IndexOutOfRangeException extends ExceptionMatcher {
    const _IndexOutOfRangeException() : super("IndexOutOfRangeException");
    bool matches(item, MatchState matchState) => item is IndexOutOfRangeException;
  }
  