Skip to content

Commit 61d0893

Browse files
committed
fix an updated lint
1 parent ae20162 commit 61d0893

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

json_serializable/test/json_serializable_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Future<void> main() async {
3535

3636
const _expectedAnnotatedTests = {
3737
'annotatedMethod',
38-
'unsupportedEnum',
38+
'UnsupportedEnum',
3939
'BadFromFuncReturnType',
4040
'BadNoArgs',
4141
'BadOneNamed',

json_serializable/test/src/_json_serializable_test_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const theAnswer = 42;
2626

2727
@ShouldThrow('`@JsonSerializable` can only be used on classes.')
2828
@JsonSerializable() // ignore: invalid_annotation_target
29-
enum unsupportedEnum { not, valid }
29+
enum UnsupportedEnum { not, valid }
3030

3131
@ShouldThrow('`@JsonSerializable` can only be used on classes.')
3232
@JsonSerializable() // ignore: invalid_annotation_target

0 commit comments

Comments
 (0)