Skip to content

Commit 034aca5

Browse files
authored
Merge pull request #179 from eclipse-thingweb/fromJson
test(content_serdes_test.dart): address DataSchema FIXME comment
2 parents a65db02 + 2edef82 commit 034aca5

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)