| Index: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
|
| index 8883a87ab29f16858a7c9dd148a25a5f03763e4d..dd4fd51e7489ad7d1090116364d2e69550625251 100644
|
| --- a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
|
| @@ -2,7 +2,7 @@
|
| // 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.
|
|
|
| -import 'dart:json' as json;
|
| +import 'dart:convert';
|
|
|
| import 'package:scheduled_test/scheduled_test.dart';
|
| import 'package:scheduled_test/scheduled_server.dart';
|
| @@ -25,7 +25,7 @@ main() {
|
| var body = {'url': 'http://example.com/upload'};
|
| handleUploadForm(server, body);
|
| expect(pub.nextErrLine(), completion(equals('Invalid server response:')));
|
| - expect(pub.nextErrLine(), completion(equals(json.stringify(body))));
|
| + expect(pub.nextErrLine(), completion(equals(JSON.encode(body))));
|
| pub.shouldExit(1);
|
| });
|
| }
|
|
|