From 2edef828bda8f42d60c8046623d4cd8888fe85f5 Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Wed, 5 Jun 2024 10:51:21 +0200 Subject: [PATCH] test(content_serdes_test.dart): address DataSchema FIXME comment --- test/core/content_serdes_test.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/core/content_serdes_test.dart b/test/core/content_serdes_test.dart index a4de1102..306bce23 100644 --- a/test/core/content_serdes_test.dart +++ b/test/core/content_serdes_test.dart @@ -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()), );