More test tweaks:
- Fix a test description (cl/324657206)
- Add return type to a helper
diff --git a/protoc_plugin/test/omit_field_names_test.dart b/protoc_plugin/test/omit_field_names_test.dart
index 7dba8b2..bcb7645 100644
--- a/protoc_plugin/test/omit_field_names_test.dart
+++ b/protoc_plugin/test/omit_field_names_test.dart
@@ -10,7 +10,7 @@
String constant() => 'SHOULD_BE_PRESENT';
Future<void> 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 6394dcc..5bd00e3 100644
--- a/protoc_plugin/test/protoc_options_test.dart
+++ b/protoc_plugin/test/protoc_options_test.dart
@@ -25,7 +25,7 @@
});
test('testInvalidGeneratorOptions', () {
- checkInvalid(String parameter) {
+ void checkInvalid(String parameter) {
var request = CodeGeneratorRequest();
request.parameter = parameter;
var response = CodeGeneratorResponse();