blob: 56783a17a6a99dd1553f8e454e112331cfa9f157 [file] [log] [blame]
* Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @assertion JsonDecoder decoder
* @description Checks that this property returns JsonDecoder which works as
* expected
* @author
import "dart:convert";
import "../../../Utils/expect.dart";
import "../JsonDecoder/table1.lib.dart" show table;
main() {
for (List<Object> pair in table) {
JsonCodec codec = new JsonCodec();
Object res = codec.decoder.convert(pair[1]);
Expect.deepEquals(pair[0], res);