| Index: sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
|
| index 521d612f8cb6bcbf5d1c8b53afa380f1588ede94..7f0164a0b4d85d5b6a4b86b1ebb83adafa2e348d 100644
|
| --- a/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_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';
|
| @@ -32,7 +32,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);
|
| });
|
| }
|
|
|