| Index: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart
|
| index aaad952581f5e0b5465eef654367c125c252fbb8..0f2750337b8c443aa865a6a3d936e12dc3008481 100644
|
| --- a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_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';
|
| @@ -31,7 +31,7 @@ main() {
|
|
|
| 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);
|
| });
|
| }
|
|
|