diff --git a/protoc_plugin/test/omit_field_names_test.dart b/protoc_plugin/test/omit_field_names_test.dart index 7dba8b23a..bcb7645f4 100644 --- a/protoc_plugin/test/omit_field_names_test.dart +++ b/protoc_plugin/test/omit_field_names_test.dart @@ -10,7 +10,7 @@ import '../out/protos/google/protobuf/unittest.pb.dart'; String constant() => 'SHOULD_BE_PRESENT'; Future main() async { - test('enum name available depending on environment', () { + test('field name available depending on environment', () { var proto = TestAllTypes()..optionalForeignMessage = ForeignMessage(); expect( diff --git a/protoc_plugin/test/protoc_options_test.dart b/protoc_plugin/test/protoc_options_test.dart index 6394dccbc..5bd00e324 100644 --- a/protoc_plugin/test/protoc_options_test.dart +++ b/protoc_plugin/test/protoc_options_test.dart @@ -25,7 +25,7 @@ void main() { }); test('testInvalidGeneratorOptions', () { - checkInvalid(String parameter) { + void checkInvalid(String parameter) { var request = CodeGeneratorRequest(); request.parameter = parameter; var response = CodeGeneratorResponse();