Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_test.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_test.dart
diff --git a/sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_test.dart b/sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_test.dart
index 291284e02c15e8286884f55b702deec121713289..5076a7d9910880942823bf6aba396a090de784ba 100644
--- a/sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_test.dart
+++ b/sdk/lib/_internal/pub/test/deploy/copies_browser_js_next_to_entrypoints_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:path/path.dart' as path;
import 'package:scheduled_test/scheduled_test.dart';
@@ -21,12 +21,12 @@ main() {
serve([
d.dir('api', [
d.dir('packages', [
- d.file('browser', json.stringify({
+ d.file('browser', JSON.encode({
'versions': [packageVersionApiMap(packageMap('browser', '1.0.0'))]
})),
d.dir('browser', [
d.dir('versions', [
- d.file('1.0.0', json.stringify(
+ d.file('1.0.0', JSON.encode(
packageVersionApiMap(
packageMap('browser', '1.0.0'),
full: true)))

Powered by Google App Engine
This is Rietveld 408576698