Skip to content

Commit 2edef82

Browse files
committed
test(content_serdes_test.dart): address DataSchema FIXME comment
1 parent a65db02 commit 2edef82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/core/content_serdes_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ void main() {
146146
expect(
147147
() => contentSerdes.valueToContent(
148148
null,
149-
// FIXME(JKRhb): Should not be necessary to use fromJson here
150-
DataSchema.fromJson(const {"type": "object"}, PrefixMapping()),
149+
const DataSchema(type: "object"),
151150
),
152151
throwsA(isA<FormatException>()),
153152
);

0 commit comments

Comments
 (0)