Skip to content

Commit 15d9eed

Browse files
committed
More test tweaks:
- Fix a test description (cl/324657206) - Add return type to a helper
1 parent d994cbc commit 15d9eed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protoc_plugin/test/omit_field_names_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import '../out/protos/google/protobuf/unittest.pb.dart';
1010
String constant() => 'SHOULD_BE_PRESENT';
1111

1212
Future<void> main() async {
13-
test('enum name available depending on environment', () {
13+
test('field name available depending on environment', () {
1414
var proto = TestAllTypes()..optionalForeignMessage = ForeignMessage();
1515

1616
expect(

protoc_plugin/test/protoc_options_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void main() {
2525
});
2626

2727
test('testInvalidGeneratorOptions', () {
28-
checkInvalid(String parameter) {
28+
void checkInvalid(String parameter) {
2929
var request = CodeGeneratorRequest();
3030
request.parameter = parameter;
3131
var response = CodeGeneratorResponse();

0 commit comments

Comments
 (0)