test(parser_spec): fix analyzer warnings

fix for
```
base/test/core/parser/parser_spec.dart:52:12:
Warning: Additional type argument.
    Parser<Expression> parser;
           ^^^^^^^^^^
base/test/core/parser/parser_spec.dart:160:14:
Warning: Additional type argument.
      Parser<Expression> parser;
             ^^^^^^^^^^
```