OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'dart:convert' show JSON; | 5 import 'dart:convert' show JSON; |
6 | 6 |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:testing/src/run_tests.dart' show CommandLine; | 9 import 'package:testing/src/run_tests.dart' show CommandLine; |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 field = field.substring(5); | 27 field = field.substring(5); |
28 sb.write(JSON.encode(data[field])); | 28 sb.write(JSON.encode(data[field])); |
29 } else { | 29 } else { |
30 sb.write(data[field]); | 30 sb.write(data[field]); |
31 } | 31 } |
32 isFirst = false; | 32 isFirst = false; |
33 } | 33 } |
34 print("$sb"); | 34 print("$sb"); |
35 } | 35 } |
36 } | 36 } |
OLD | NEW |