diff --git a/json_serializable/test/integration/json_enum_example.dart b/json_serializable/test/integration/json_enum_example.dart index 27263260b..f0b81f7d7 100644 --- a/json_serializable/test/integration/json_enum_example.dart +++ b/json_serializable/test/integration/json_enum_example.dart @@ -126,7 +126,7 @@ enum EnumWithAliases { @JsonValue('1') one, - @JsonValue('2', aliases: ['two', 'deux']) + @JsonValue('2', aliases: {'two', 'deux'}) two, @JsonValue('3')