Skip to content

Commit

Permalink
test(content_serdes_test.dart): address DataSchema FIXME comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 5, 2024
1 parent a65db02 commit 2edef82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/core/content_serdes_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ void main() {
expect(
() => contentSerdes.valueToContent(
null,
// FIXME(JKRhb): Should not be necessary to use fromJson here
DataSchema.fromJson(const {"type": "object"}, PrefixMapping()),
const DataSchema(type: "object"),
),
throwsA(isA<FormatException>()),
);
Expand Down

0 comments on commit 2edef82

Please sign in to comment.