| Index: tests/html/xhr_test.dart
|
| diff --git a/tests/html/xhr_test.dart b/tests/html/xhr_test.dart
|
| index 1d532093852bec6622c01f9debb8aa0f81d1f3c8..b5c538b890047c85cd14be2f9f1ca9f49b15b0d1 100644
|
| --- a/tests/html/xhr_test.dart
|
| +++ b/tests/html/xhr_test.dart
|
| @@ -7,7 +7,7 @@ import '../../pkg/unittest/lib/unittest.dart';
|
| import '../../pkg/unittest/lib/html_individual_config.dart';
|
| import 'dart:async';
|
| import 'dart:html';
|
| -import 'dart:json' as json;
|
| +import "dart:convert";
|
| import 'dart:typed_data';
|
|
|
| void fail(message) {
|
| @@ -26,7 +26,7 @@ main() {
|
|
|
| void validate200Response(xhr) {
|
| expect(xhr.status, equals(200));
|
| - var data = json.parse(xhr.responseText);
|
| + var data = JSON.decode(xhr.responseText);
|
| expect(data, contains('feed'));
|
| expect(data['feed'], contains('entry'));
|
| expect(data, isMap);
|
|
|