Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfccp committed Nov 26, 2024
1 parent cbbbf72 commit 54ff615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions json_serializable/test/src/_json_enum_test_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:json_annotation/json_annotation.dart';
import 'package:source_gen_test/annotations.dart';

@ShouldGenerate(r'''
// ignore: unused_element
const _$EnumValueIssue1147EnumMap = {
EnumValueIssue1147.success: 200,
EnumValueIssue1147.weird: 601,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ UnknownEnumValue _$UnknownEnumValueFromJson(Map<String, dynamic> json) =>
unknownValue: UnknownEnumValueItems.vUnknown) ??
UnknownEnumValueItems.vNull;
// ignore: unused_element
const _$UnknownEnumValueItemsEnumMap = {
UnknownEnumValueItems.v0: 'v0',
UnknownEnumValueItems.v1: 'v1',
Expand Down

0 comments on commit 54ff615

Please sign in to comment.