Skip to content

Commit

Permalink
More test tweaks:
Browse files Browse the repository at this point in the history
- Fix a test description (cl/324657206)
- Add return type to a helper
  • Loading branch information
osa1 committed Jun 28, 2022
1 parent d994cbc commit 15d9eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protoc_plugin/test/omit_field_names_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import '../out/protos/google/protobuf/unittest.pb.dart';
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(
Expand Down
2 changes: 1 addition & 1 deletion protoc_plugin/test/protoc_options_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void main() {
});

test('testInvalidGeneratorOptions', () {
checkInvalid(String parameter) {
void checkInvalid(String parameter) {
var request = CodeGeneratorRequest();
request.parameter = parameter;
var response = CodeGeneratorResponse();
Expand Down

0 comments on commit 15d9eed

Please sign in to comment.